Consider a squash ball, when it hits the wall of the court the rubber compresses and the air inside also compresses causing the balls temperature to rise. This temperature rise is energy taken from the balls kinetic energy, causing the ball the hit the wall with less force.
Proof:
A ball of...