Question: why gain weight when on diet?
Answer: Energy balance (calories in, calories out) does determine bodyweight. If we absorb more energy than we expend, we gain weight. If we absorb less energy than we expend, we lose weight.