Why does the calorie content increase when cooking?

I'm specifically referring to 5-minute terrines. For example, the package says it contains 100g, and the 100g contains the calorie content. But if you go by the value that refers to a serving, i.e., boiling it with water, the calorie content is significantly higher. Why is that? Water doesn't conjure up nonexistent energy.