Honestly, I didn't know that until my wife told me. I didn't know sandals are tolerated in society in one condition: that they don't go on top of socks. Here are good examples of the the reason behind the logic:
and the ultimate evil:
(many more here)(via)