There are two significant reasons. The most important reason is hygiene and the other reason is to avoid damage to the yacht. As soon as you arrive onboard the crew and guests have to take off their shoes/slippers and leave them in the basket or shoe cabinet. You can walk around barefoot or you can use soft-soled shoes for indoor use. Hard soled shoes/slippers can leave scratches while stilettos can dent the deck.