Why do Walrus have a layer of fat or blubber around their body?

Walrus live in very cold water with ice. The blubber acts as a store of energy and also fat is a good insulator and traps heat inside the Walrus' body. This keeps them warm.

Note, many marine mammals (whales, seals etc.) also use blubber in this way.