Here's a problem to solve: A child rides a wagon down a hill. Eventually, the wagon comes to a stop. Which is most responsible for causing the wagon to stop?

Among the 4 following options, which is the correct answer?

- A: gravity acting on the wagon
 
- B: friction acting on the wagon
 
- C: the mass of the wagon
 
- D: the mass of the child
 