Japanese custome
It is considered that the reason why we take off our shoes when entering a house in Japan is that there is much rainfall and Japan has a humid climate. If we enter a house with our muddy shoes on, the rooms get dirty easily and it is unsanitary. Moreover, traditional Japanese houses have tatami mats, which are vulnerable.
I hard some clean freak in western countries also take off their shoes at the entrance.

