A sea breeze begins with a temperature difference between neighboring land and water. Picture a warm daytime coast: the ground warms faster than the sea, and the air above those surfaces responds differently. That contrast can set a small circulation in motion across the shoreline.
The National Data Buoy Center uses a hot summer day to explain the process. As the land heats, the air above it becomes warmer than the air over the ocean. Warm air rises. Cooler air from over the water moves inland to replace it. That movement near the surface is the sea breeze.
Follow the whole loop
NOAA's JetStream explanation follows the circulation above the shoreline too. Air rises over the warmer land, moves back toward the water higher in the atmosphere, and descends again over the sea. The surface breeze is one part of that loop. Drawing only an arrow from water to land leaves the return flow out of the picture.
The advancing cooler air can meet warmer air over land along a boundary called a sea-breeze front. NOAA describes changes in temperature, humidity, and wind as that boundary passes. The behavior of the front also depends on the larger weather pattern; a coastline and daytime sunshine alone do not tell the complete story.
Turn the picture around at night
NDBC explains the opposite arrangement as a land breeze. Land can cool faster than the water after dark. Warmer air over the ocean rises, while cooler, denser air from the land moves offshore to replace it. The surface direction is reversed because the temperature contrast has changed.
For a surf or beach conversation, keep the name of the process attached to its explanation. “Sea breeze” describes more than any wind beside the sea: it connects a flow of air with the different heating of land and water. Keep an actual day's observations, location, and forecast time beside that general idea when discussing conditions. The circulation sketch helps explain a mechanism; the day's weather still needs its own record.
Sources: NOAA, The Sea Breeze; National Data Buoy Center, What are sea breezes and why do they occur?.
Photo: Steve Hillebrand/USFWS, Ten Thousand Islands National Wildlife Refuge. Public domain. Illustrative coastal scene.