Calories in: What kind of calories? When you eat them, how fast you cut them, how your body reacts to the restriction, how your gut biome reacts, how your brain and willpower reacts, how your family and friends react....
Calories out: what is your actual resting burn, how does that change as you adjust calories in, how does it change as you adjust the type of calories in, how does your resting burn react long term to weight loss....
It's as simple as calories in, calories out, just like the theory of relativity is as simple as e=mc2.