They both wind and rain can rub against rock. And wind abrades rocks by the process of sandblasting. But, glaciers abrade rocks by gravity. If the slope is steeper, the faster that the glacier will go. They both also cause erosion.
Hope I helped you! :)