Rocks are changed when they are exposed to air, water, and ice at Earth's surface. Weathering is often accompanied by erosion—the transportation of weathered materials by flowing water, wind, ice, and gravity.