If by materials you mean sand and pebbles then the answer is by the wind and the water when the tide comes in.
The materials that make up a beach are sand, pebbles, cobbles, rocks, and shells. A beach is a land along the edge of a body of water and is usually made up of six materials. Beaches can be 100 kilometers long or very short. The coast is a more general term referring to the junction of land and water, but a beach is made of specific materials like sand,cobbles, or shells.
"He walked along the beach."
a beach
The prepositional phrase is "as you walked along the beach".
How sand and other materials are carried parallel to the shore by the waves. The waves approach the beach at an angle.Longshore drift is the movement of sediment along the coastline.Longshore drift is the transport of erosion sands along a shoreline by the current flowing along it.
An example of "along" used as a preposition is: "He walked along the beach." In this sentence, "along" shows the direction in which he walked, next to the beach.
beach.
A beach
A beach
On the beach in Daytona Florida and along A1A that runs along the beach
Cocoa Beach's coast is along the Atlantic Ocean
VRBO company of Huston, Texas,has Houston beach rentals. VRBO offers beach homes sitting along the coastline, and also condos as well as apartments along the beach.