The particles are moving very fast, yet are very far from each other in the gas or vapour state. After condensation they slow a bit down and move closer together. Finally when frozen the particles are almost stuck together and they barely move/vibrate.