A student is playing with a pendulum. He gives the ball a push and watches the ball as it swings. After a while, the ball stops swinging.Why does the ball stop swinging?