Have you ever noticed how, if you are at a shallow beach, no matter how choppy waves are further offshore, everything becomes nice and orderly on the beach?
Below you see where the water depth suddenly increases, both from the color of the water and from the wave pattern. While in deeper water waves propagate at all kinds of speeds depending on their wavelength, the moment the water becomes shallow enough, all waves propagate at the same speed (except for the really short waves for which the water is still deep, but let’s forget about those). If all waves propagate at the same speed, it means that the form of the wave that we observe stays constant over time and just moves as a whole. Hence it looks a lot more tidy than the choppy waves further out.
Watch the movie below to see for yourself