Water vapour is produced by planes as the hydrogen in its fuel reacts with oxygen in the air. In cold conditions (typically below around -40C (-40F)) it can condense, typically on the soot particles also emitted from aircraft engines, to a fog of droplets, which then freeze to form ice particles.