This.
Sugar and simple or highly processed carbs cause your body to release insulin in order to regulate blood sugar. Insulin switches off any fat burning and tells the body to store fat.
Whenever your diet consists of carbs and fat nutrients, the fat is going to be immediately stored in your fatty tissues, and any excess carbs that you can't burn quickly will go there also.