Raw and cooked food are different
Cooking often changes the amount of water in food, so 100 g of raw chicken breast does not represent the same energy per 100 g as roasted chicken breast. The same applies to dry rice and cooked rice. Always select values matching how the food was weighed.