the ground has a lower specific heat and so its TEMPERATURE increases more than the temperature of the water .The ground hits the air above it Which rises in CONVENTION currents and cooler air from over the Ocean flows towards the SHORE to fill in the gaps LEFT by the rising warm air.