Water freezes from the top down—which allows ice to float—because of a strange quirk in how water's density behaves at falling temperatures. Density is the mass of a unit volume of a material substance; it is essentially a measure of how tightly packed the atoms and molecules of a substance are.