This is not to say it hasn't happened where a rider minding their own business riding legally with no extraordinary antics is run/gunned down solely because they're on a bike. I'm sure it's happened and more than once. But "a thing"? Really.
Well, there various "levels" so to say...
You'll receive dumb gestures, being generalized as "organ donator", obscene verbal outbreaks...
You will find half empty McDonald's cups, soda bottles, soda cans, banana peels, half gnawed apples/pears, lit cigarette buts... up to filled garbage/fast-food bags being thrown
at you out open car windows while on the move...
it hits the peak when they actively try to run you over, cut your lane at very close distance, brake-check you, etc...
Then the hit and run cases, tipping over motorcycles in parking lots, the manual vandalization where lit cig buts get thrown into your instrument cluster, on the seat, bikes get kicked over, jumped and trampled on...
See "a thing" there?...pfffff... nah...
Behave like a rabbit, quick, highly maneuverable, always have an escape route... never allow yourself to get provoked and never bring yourself into a situation you don't control to 101%...