It takes quite a while to process the fat into calories, some of it might pass right through.
The sugar is instantly converted to calories...or stored as fat.
People get fat from consuming more energy than they burn. It has nothing to do with any one particular macronutrient. It isn't as complicated as some try to make it. Calories in vs. calories out. That's it.