I've had this issue with my Samsung Note 20 Ultra, but not from motorcycles. I run a couple thousand miles a year and about 6 months ago I noticed my camera would come up out of focus. If I tap the phone fairly hard it will usually come back in focus eventually, but its super annoying. I've started carrying my phone in a pocket on my outer thigh where it should get less impact, rather than a loose zippered pocket of my shorts, but the damage is done to this one. Hopefully my next phone does better.