why is it cooler along the coast than inland