Answer:
As the temperature becomes colder, the water molecules lose energy and move less. The hydrogen bonds that form when water freezes into ice allow the molecules to be spaced farther apart, making them take more space, decreasing the overall density and making it float in the water.
I hope this helped :)