The issue with the simplifying "calories in == calories out" is that conservation of energy is being applied over the wrong system. Our bodies are not 100% efficient at extracting energy from food, and to GP's point respond differently to different types of foods.