My peronal explenation to this is the following: because since the wild west century ended and decades where we had compulsory military service head gear seems to be less and less popular and so more and more people seems to forget that they have to take it off before sending a prayer and before entering a closed building.