Until you run into an A-hole whose response ruins the rest of your day when you were just trying to be sociable. I could even see getting physically assaulted for trying to talk to the wrong stranger. I like where your heart is at, unfortunately many people out there are not deserving of it.
I mean, why does it ruin your day? It's just some random person - you'll likely never see them again, or you'll know to avoid them in the future. Why is the opinion of some rando weighing on you so much?
The idea of practicing these random interactions is also to get accustomed to rejections from the assholes. After all, they aren’t the majority- most people are actually quite nice and often appreciate a company (or will politely tell you they don’t need one)