There’s a name for this in the broader sense, though riding bikes may or may not fill into this (can if it’s for environmental reasons)
Do-gooder derogation is a phenomenon in moral psychology where a person’s morally motivated behavior leads to them being perceived negatively by others. The term “do-gooder” refers to a person who deviates from the majority in terms of behavior, because of their morality
There’s a name for this in the broader sense, though riding bikes may or may not fill into this (can if it’s for environmental reasons)
https://en.wikipedia.org/wiki/Do-gooder_derogation