This process is called freezing or solidification. Think about water: when you put it in the freezer, it turns from liquid water to solid ice.