It’s customary to take your shoes off at home in many parts of the world.
For instance, in many Asian households it’s often shoes off at the door. There’s also a no shoes rule when walking around indoors at home.
Having grown up in a Chinese household, this is a habit that comes naturally to me. As a kid, I’d come home, take my shoes off and place them on the shoe rack by the door. Today this is still what I do every time I come home.