When we eat chewier, less processed foods, it takes us more energy to digest them, so the number of calories our body receives is less. You will get more energy from a slow-cooked apple puree than a crunchy raw apple, even if the calories on paper are identical.