When a little girl kicks a little girl in the shins, pulls her hair, or calls her names- we tell the abused child that her bully is mean (because nobody calls children bad names). The same holds true if a little boy kicks a little boy, or if a little girl kicks a little boy. But, when a little boy kicks a girl in the shins, pulls her hair, or calls her names- we tell the abused child that the boy probably just has crush on her and is trying to flirt with her. We tell her to not take it personally, boys will be boys.
And when those little kids grow up and become engineers (as some children are known to do), it becomes unacceptable to pull anyone's hair, or kick anyone in the shins. But for some reason, if a man is personally a jackass in the work place to a young woman- he is still somehow occasionally able to keep that "flirting" card that parents made up in grade school to avoid disciplining their children../