Rocks carried by the river smash together and break into smaller pieces. This process is called attrition. During this process of coastal or river erosion rocks break apart to become smaller and more rounded. As the rocks continue to collide, they erode more and more, getting smaller and smaller until they are only sediment.