The temperature is changed by adding heat from the burner. This is an example of Charles and Gay-Lussac's law.