Amanda Bynes has a beef with Rihanna -- but it's not clear where it's coming from.

The troubled actress -- who was arrested in New York City on May 23 for allegedly possessing marijuana and throwing a bong out the window of her high-rise building -- went off on the singer on Sunday, May 26, in a series of tweets that she quickly deleted, reports TMZ.