This process is called deposition, which is the opposite of sublimation (where ice changes directly into water vapor).