These rocks may come from the deposits of eroded sea cliffs. The rocks can sometimes be a sort of alluvial fan. The second thing that may come to mind when thinking about beaches is the waves. Waves are the product of wind. These processes form what is known as swells.
Swells can travel hundreds of miles.
The swells move in an orbital pattern. They will keep that pattern until they reach land. When a swell comes closer and closer to land it begins to drag the bottom of the wave, while the top of the wave wants to keap moving. The wave will eventually topple over on itself. This happens when the depth of the shore is one half the wave length.