As thunderheads rise, they cross different layers of air that
have different temperatures and winds. When their tops get high enough to
poke through into a layer where high-altitude winds hit them, the wind fans
out the top of the cloud, flattening it at the same time. This forms a
characteristic anvil shape that projects out over the rest of the cloud below.