you left out the genetic component...I've known people who were huge from babyhood on up...grossly so....and you must know people that eat constantly but can't gain weight....
True genetics can play a part. I’ve known people whose metabolism is such that they can eat anything and not gain weight or in the alternative gain weight by just looking at food.