Rolling the ball down the ramp is like diffusion; the ball is moving from an area of higher potential energy to lower potential energy. It does not require any energy by the user once set in motion.
Rolling the ball up the ramp is like active transport. It requires energy to move the ball from the start to the finish.