Classical mechanics
Quantum mechanics and classical mechanics differ in their treatment of this scenario. Classical mechanics predicts that particles that do not have enough energy to classically surmount a barrier cannot reach the other side. Thus, a ball without sufficient energy to surmount the hill would roll back down. A ball that lacks the energy to penetrate a wall bounces back. Alternatively, the ball might become part of the wall (absorption).