A boy throws a baseball. It travels 40 feet and then goes right back to the boy. How is that possible?

Image of Riddle Question

Can you solve this riddle without clicking that tempting answer button?