Uneven heating causes uneven temperatures (typically, not always). This means air molecules exert different pressures (remember, temperature is a measure of how fast molecules … move randomly) at different locations.