Bands of soft rocks like clay and sand are very weak in which they can be eroded very quickly. Since cliff and coastline doesn't erode at the the same pace, an inlet of the sea to where the land curves inward forming a bay. Once soft rocks are eroded inward, the hard rocks are able to stick to the sea to form a headland