Because you get idiots that feel a calorie of protein is not the same as a calorie of fat.
In the end, it's basic math, and you're right- a calorie is a calorie. Balance intake against output, and you maintain weight. More intake then output, weight gain. More output vs intake, weight loss.
Boil it down to whatever you'd like to think, but that is all there is to it.