

The energy in a wave is finite,so as waves enter a shallower region, they start pushing against the bed of the lake or sea. This results in friction and the energy that was used to maintain the speed of the wave is now split between forward velocity and overcoming friction.
