Glaciers form from compacted snow that transforms into ice over time due to pressure and melting-refreezing processes. They move due to gravity, as ice accumulates and flows downhill under its own weight. This movement can be influenced by factors such as slope, temperature, and the presence of meltwater at the glacier base.