It's ALL calories in vs calories out.
You'll find that many of the low carb diets are just hypocaloric diets in disguise.... when you cut out carbs, you actually cut out a lot of fat as well (from cookies, cakes, pastries, fried carb stuff).... so while you think you're eating a lot of fat...