What barrier islands erode?

because waves roll against it. forcing it to erode