Do trees have free energy?