Land has the ability to heat and cool far more quickly than the sea.
The temperature between the land and the sea can be different at any point during day and night.
This temperature discrepancy between land and sea can develop local winds, also recognized as sea and land breezes.
As a general rule, we can say that the greater the difference in temperature between land and sea, the greater the wind.