Most random encounters have a pretext, from smoking a cigarette to talking to the shopkeeper, or being in a queue for a long time.
Talking to a woman ( esp given that many of them are harassed from what I understand from my female friends ) without any reason to is much harder