When waves approach a headland, the depth of the water decreases, causing the waves to get higher and steeper, with increased erosive power. When waves enter a bay, the water is deeper, so they do not lose velocity as rapidly, allowing deposition rather than erosion to take place.