Like flowing water, flowing ice erodes the land and deposits the material elsewhere. Glaciers cause erosion in two main ways: plucking and abrasion.
Plucking is the process by which rocks and other sediments are picked up by a glacier. They freeze to the bottom of the glacier and are carried away by the flowing ice.
The other way you'll need more informations because my Knowledges are limited by here.