The process of photosynthesis is not a cause of erosion of rocks and soil. Erosion is caused by wind, water, ice, and gravity.
Wind erosion is caused by strong winds which can carry away small particles of soil and rock. Water erosion is caused by running water which carries away larger particles of soil and rock. Ice erosion is caused by melting ice, which can cause rocks and soil to break apart. Gravity erosion is caused by gravity, which can cause rocks and soil to move downhill.