Only because of stringent HR rules written, for the most part, by people with sticks up their asses and filled with leftist jargon that ignores human reality.
"Hey, someone might do something."
"OH MY GOD! We'd better impose a whole raft of rules barring any sort of conduct remotely similar to that!"
I still have very, very good friends - the majority female -- practically family, from places I haven't worked for in a decade. I never would have made those friends if we had to act like robots and never say or do anything that might possibly be construed as offensive.