Why is free energy affected by changes in temperature?