if in the sky then snow or hail is formed but water vapor in general is just like water except in gas form so it would be considered turning in to an ice cube.
Water is water be it solid, liquid or vapor.
When water is heated and turns into a gas, it forms water vapor.
When liquid water turns into a gas or vapor, the process is evaporation. When solid water (ice) turns into a gas or vapor, the process is sublimation.
When water vapor gets cold it condenses into condensation.
Water vapor is a gas. It is the gaseous state of water, formed when liquid water evaporates or solid ice sublimates at temperatures above the boiling point of water.
Snow
condensationCondensation is where water vapor turns to liquid. The process is where gas turns to water then vapor and then turns back into liquid.
The direct transition of solid ice to vapor is called sublimation. It occurs when the solid ice skips the liquid phase and turns directly into water vapor without melting.
The freezing point of water vapor is 0 degrees Celsius or 32 degrees Fahrenheit. At this temperature, water vapor turns into solid ice.
The process by which water vapor changes directly to a solid is called deposition. During deposition, water vapor skips the liquid phase and turns directly into ice or frost on a surface.
When snow turns directly into water vapor without first melting into liquid, it is called sublimation. Sublimation is the process in which a solid turns into a gas without passing through the liquid phase.
Rain is formed when water vapor in the atmosphere cools and condenses into liquid water droplets. These droplets continue to grow until they are heavy enough to fall to the ground as rain. This process is known as the water cycle.