Which of the following is responsible for preventing the retaining wall from sliding against the soil?

A) Friction between the wall and the soil
B) Gravity acting on the wall
C) Anchoring the wall to a stable foundation
D) None of the above