“I could still feel it a few hours after”

Was walking to the grocery store today, in the early afternoon, and a guy came on his bicycle behind me and slapped my ass.

I was so furious I shouted “what the f” from the top of my lungs. It was so forceful I could still feel it a few hours afterwards. What on earth would compel someone to do something like that.