How Does Depth Of Water Affect Wave Speed?

How Does Depth Of Water Affect Wave Speed? Because deep-water waves do not interact with the ocean bottom as they travel, their speed is independent of the water depth. But as waves enter shallow water, interaction with the bottom alters the waves. Wave speed decreases, wavelength shortens and wave height increases. Why do waves travel