Water’s expansion on freezing is because of its molecular structure and hydrogen bonding, which makes ice less dense than liquid water and capable of floating.
Which is why ice floats on liquid water; this property helps organisms survive aquatic environments during cold seasons.