What makes the difference is what you eat. Unmanaged insulin levels, even for so-called "healthy" individuals, leads to weight gain, especially in areas of the body associated with heart disease and stroke.
Your body requires multiple PHds in multiple medical and biochemical disciplines to understand. Trying to slap CICO on everything is both ingenuous and gaslighting.
Want to lose weight? If you already have a healthy calorie intake, decrease simple/refined carbs, increase healthy fats, avoid unhealthy refined oils from plant sources (margarine, crisco, other synthetic lard/fat replacements), increase meat protein if you're not getting at least 4 oz a day, avoid grains entirely if need-be (but certainly, less is more).
Still not working? Increase salt intake, low salt diets interfere with the angiotensin-renin system. Even with people with high blood pressure, lowering sodium intake often drives blood pressure higher (a documented life-saving quirk of physiology), but increasing potassium decreases blood pressure reliably.
Easiest way to achieve this is just to eat a normal, ungimmicky, unbullshitted, whole foods diet. Is it ultraprocessed? Is there more weird-ass chemicals on the box's ingredient list than not? Can you make this, yourself, in your kitchen, following a basic recipe? No? Then don't eat it.