Rationale of the Harasser
Rationality of the "type".
1. They are looking to demonstrate dominance-superiority.
To you, their buddies, even themselves.
2. They are desperate for attention, to re-enforce self-worth.
Even negative attention ... feeds their twisted ego.
Making you lose your temper is their aim ... and victory.
Either type is frustrated-diminished by being ignored - deemed unworthy of attention.
Rather than getting upset, just realize that they are insecure-pitiable, desperate for attention. Making you their superior, higher up the pecking order-evolutionary ladder ... if! ... you maintain your composure.
I just pictured myself, biking along, a brief glance at "them", then looking ahead ... a slight smile coming to my face ... as I am casually chewing gum.
Practice this mental "video", get familiar enough with it, that you can pull it up, when needed.
Hmmm? Not sure why I am chewing gum ... but it does make a "nicer" mental picture.