Those guys are assholes. But the fact is that you wear red lipstick to be more attractive. It makes you feel more confident because it makes you more attractive.
It makes people feel better about themselves because it makes them more attractive.
It should also be no surprise that women wearing red lipstick get approached more. They look hotter, so they're approached more.
The genes hold culture on a leash.
Obviously, none of this justifies men making unwanted comments and being assholes. But the extra male attention received when wearing red lipstick should be totally unsurprising.
Red lipstick is an evolutionary supernormal stimuli (https://www.psychologytoday.com/gb/blog/cutting-edge-leadership/202103/why-we-are-attracted-supernormal-stimuli)