During the day, the land bordering the sea heats up, which means the air above the land is hotter than the air above the water. Since warm air above land expands and rises, the cooler, heavier air from the water rushes in to take its place. This creates wind.