Hey this isn’t a advertisement or anything or a bot, but there is this one website I use to write these kind of questions. If you don’t want to click on it I understand but this’ll help out a lot.
A good explanation of why dieting makes you fat is because of the stress it causes the body. Stress hormones act on fat cells to increase abdominal fat. Also, weight anxiety and dieting predict later become binge eating and gaining weight