The sand will act like sandpaper and scrape the rock. If this continues to happen, the surface of the rock will change. Over a long time period (thousands or millions of years) the changes to the rock can be dramatic.