Why does glacial deposition happen?

Material is deposited from a glacier as it melts in lowland areas.