“generally” does not mean absolutely “always”.
If steep rocks limit the spread of the beach towards the land, then that’s just the way it is.