How do bouncy balls bounce?

Because their material is flexible, they can absorb shock from, say, hitting a wall, and release it to fly back. It is an interesting concept that is worth looking up.