Question: why are hats not allowed in buildings?
Answer: In Western culture, it has always been considered rude or disrespectful for a man to wear a hat inside a building, including a church building. Even a generation ago, when men commonly wore hats, the headgear was removed indoors, or even outdoors in the presence of a woman.