The diagram above illustrates trapped air in a syringe placed in water that is gradually heated. It is observed that the piston rises as the temperature of the water rises. Which of the following statements explains this observation?