Alternating sections of hard and soft rock. The hard rock bands will be more resistant to erosion than the soft rock. The soft rock will therefore erode faster due to hydraulic action, abrasion, cavitation and the coast will retreat to form inlets – the bays, leaving areas of hard rock that protrude into the sea the headlands.