Almost certainly plays a role. Also increased activity levels due to better less fatigue.
Certainly is not defeating thermodynamics, assuming calorie absorption is not disrupted somehow it's likely the above.