That’s why I said mostly. There are exceptions of course. I only tell people to keep their shoes on if the floor is too dirty and it wasn’t raining / snowing.
Edit: also, flip flops exist. Lots of people have guest pairs somewhere so you don’t walk on the cold floor.