We often think of the ocean’s tide as a simple rise and fall, connected to the motion of the Moon. But on any given shore, the reality …