Particles of a certain state of matter undergo a phase change. Before the change, particles of this state matter are easily compressible and after the change, the particles become closely packed. The phase change is:
Gas is easily compressible and solid is closely packed. The phase change from gas to solid is deposition.