Here's why:
* Gravity is a force of attraction: It pulls everything towards the center of the Earth.
* Slope creates a direction: When a rock is on a slope, gravity pulls it downwards along the slope.
* Overcoming friction: If the force of gravity pulling the rock downwards is stronger than the friction between the rock and the ground, the rock will roll downhill.