How do those cooling sea breezes form?

How do those cooling sea breezes form?

We live by the sea breeze and die by the sea breeze. Figurately, of course, but only kind of. How often has it been 95 degrees in Hammonton or Trenton, only to fall to 78 degrees in Ocean City or Atlantic City? That kind of change would make you feel alive if you made...