I'm thinking it's assault.
Imagine being on the sidewalk and someone just hucks a hat at your head, how would that feel? More than a little alarming for many, I should think.
How is it not clear that it's inappropriate to be violating others' personal space without their consent and without warning, to force clothing upon them no less?