Systems snap when the tide turns in a microscopic tug-of-war. Binding forces try to lock water molecules into rigid formation. Entropy, the tendency of systems to become more disordered, encourages those molecules to roam. As temperature decreases, binding forces get stronger and entropy forces get weaker. When the strengths of those two forces cross, the system snaps. Water freezes.