Cold air is more dense than warm air, so when a warm air mass meets a cold air mass, the cold air ends up below the warm air. Once the air has risen, it cools and clouds can form. Weather fronts can cause clouds to form. Fronts occur when two large masses of air collide at the Earth's surface.