why water expands when it freezes?

Water expands when it freezes because it starts to bend. when all the water molecules are in this hexagonal structure, the same amount of water takes up more space than when the molecules are randomly arranged. For example- In the ocean where all the fishes are in the water theres a top layer of ice that protects the under water for the fishes.