I never heard this before. I understand that they did to say hello, especially to a woman, and when in a restaurant.
But in an elevator?
In the era when men wore hats and tipped them, they took them off in enclosed spaces.
Part of the reason was out of respect.
I'm not sure I understand it fully.
But I like it.
And wish men still wore hats.
And tipped them to say hello.