If it was erosion, why didn’t the water or wind carry the sand away? Seems unlikely to me.
Some of it has already, that is why they are uncovered. Eventually, it will all be eroded away. But that is eventually on a geological time scale.