Frost forms when an outside surface cools past the dew point. The dew point is the point where the air gets so cold, the water vapor in the atmosphere turns into liquid. This liquid freezes. If it gets cold enough, little bits of frost.
the process for the formation of frost is called deposition.
the water vapor goes directly from a gas to solid. This process is called deposition.