Pieces of rock and sand settle to the bottom or sides of a river because:

they are heavier than water

they are lighter than water

gravity is stronger in a river than on land

wind blows the pieces to the bottom