Whats wrong with people that randomly approach strangers and start saying random stuff?

Saying oh I like your dog as you pass by is normal but this one random guy was approaching everyone in the park I was walking and I could feel his awkward vibe and everyone feeling weirded out. Then he approached me and I was like oh no. To no surprise I got a weird interaction.

He just started saying "hey have you noticed at Asian smoke shops the lady isn't ever Asian and mostly white?" I just said no and walked away but the way he approached me felt so off and uncomfortable. Yes I'm Asian but you don't know me like that and just blurt out random things in my face.