Water is intitally present in a state where its molecules are far apart. During a change of state it’s molecule slow down which change of state has most likely taking place
Molecules will move faster and spread apart on warmer temperatures The colder it get the slower the molecules move so naturally those water molecules are on the path to freezing