Glad people have mentioned dementia. A good friend who was diagnosed with Alzheimer’s in his 50s, became very disinhibited, grabbing at his very patient wife’s bosom and bottom at inappropriate times. Eventually his hygiene behaviour deteriorated also, and she couldn’t cope at home, not being well herself either. He went into a care home, and was moved on from the first one for inappropriate behaviour with staff.
But this sounds more like the “phwoar” type of comment that was not uncommon till the last few years, and of which most of us were on the receiving end in our younger days at various times-and developed mechanisms for dealing with. My response would, I think, have been a loud and very heavily scathing, “Idiot!”