At night, the continent cools very rapidly and the opposite is true. The ocean is warmer air rises over it, creating a low pressure region. Cold air from the continent moves towards the ocean at the surface and warm air towards the continent at high altitude. The asian monsoon is an extreme case of this effect. As it rises it cools adiabatically, forms large clouds and large precipitation occurs.
Seasons can also modify the simple circulation pattern migrating the highs and lows in pressure.