Not to minimize or contradict people's intuition or reaction or experience here. I've been in the situation, myself - and I know it's real and really icky. And I don't want to excuse anyone either.
The generation of men who grew up in the first half of the 20th century almost have a different set of cultural norms and attitudes and behaviors, especially concerning sex and women. It's bult into their brains, just like my habits, expectations, etc are built into mine. At one time, men thought a suggestive remark to a women was a form of flattery; paying a compliment to woman. It usually went beyond a "You're looking very pretty today" type of thing. To this generation, doing such a thing isn't socially "wrong" - it's a now-archaic form of expressing "I like you".
In the second half of the past century, women's lib et al., set out to change that. So now we have guidelines on what constitutes sexual harassment, etc. And I think that's left a lot of older gents (and pervs, too) very, very confused about what is permissable and what isn't. I don't want to argue the rights/wrongs of this social change, really - I'm just pointing out what I've observed.
Case in point: the dean of our Business School and I were a generation & a half apart. Our working relationship got off to a very tense, uncomfortable start (my boss set me up...). I guess he expected me to panic (I did, for a while) and to just "go away"... and I didn't. Several times, over the years, I was publicly berated by him over certain departmental decisions (shooting the messenger) - yet in private meetings, we were able to resolve conflicts to mutual satisfaction. By the time he retired, I was quite fond of him because he didn't BS about what he wanted or play silly head or ego games... and I was also welcome to say what needed to be said, and I was comfortable not mincing words or twisting things into a "politically correct" statement.
At our last meeting, he actually asked permission to hug me because he wasn't sure if I was "one those females" - who would consider it a boundary violation. I responded that I was old enough to remember when a hug was a sign of respect and affection among business people and not some "move" being put on me. And I was kinda sad, that he even had to ask... but I did understand the reluctance to just reach out and hug me.
This is the kind of "confusion" I'm talking about for guys of that generation. And in turn, it causes confusion (and distrust) for women, too... because the only thing we've got, to be able to tell the two motives apart without openly asking - is that inner intuition or how we feel... and some sort of trust-criteria-hoops to be able to tell the "straight shooters" apart from those with ulterior motives.
It's kinda sad that things have come to this level of distrust among people, but I surely also understand the need (on both sides) to be "safe", too.