When I step into another person's house, I wipe my feet as to not track mud around. Or, if it is their house-rule to remove their shoes, I will gladly leave them at the door. This is done out of respect.
Even if you don't think it makes sense, a person should observe the customs of the house, or risk looking like a mannerless boob and possibly get kicked out.