If there are inflammatory processes in the body, they can stimulate cortisol, and elevated cortisol can lead to weight gain. If there is no inflammation, then the next step is to check whether the hormones are balanced. If they are also in a good range, then it comes down to either reducing food intake or, even better, incorporating strength training.
Muscle mass is what, in the long term, allows you to eat more without gaining weight.
You can also download these free fields here: