weathering mechanical weathering is the erosion of rocks and soil caused by wind , water , or ice freezing inside rocks