Think about it from a scientific point of view. Your heating the tennis ball...the heat increases internal ball pressure because of the molecules inside are moving faster. Once the ball cools down, the molecules slow down and will next exert the same pressure on the walls of the ball.