friction
In shallow water close to shore, waves start to drag on the bottom of the water. The bottomsbut not the topsof the wave slow down because of friction. This causes the waves to steepen until they break and fall over, carrying water onto the shore as surf.