Gosh lots and lots of reasons....
As a child:
Never really learnt to listen to my body's signals about feeling full, was encouraged, as I think many were at the time, to not leave/waste food.
Body type from the beginning was very different from my sister, she was always slim and I was rounder.
As a teen:
Used to play lots of sports then had an op on my foot and was out of netball and hockey for 6 months, started playing in the orchestra instead and never really honestly got back into sport so didn't adopt regular health exercise habits coming into adulthood.
Early adulthood:
Social and fun activities didn't have sport/exercise elements, but always had food/drink elements.
The sports that I do like are not regular CV exercise type things.
Now:
Stress mostly....but also that....I come last, looking after me is a low priority for some reason. Like many, I am juggling many things, work, parenting, finances, home, etc. I don't think I can succeed in all domains all at the same time, and my own health is the one that always gets dropped.
Plus....I just really like nice food, I don't eat rubbish, hardly any sweet stuff, I eat really good food, but too much of it, and I really like social eating, having dinner with friends, etc.
There was a time after having DD that I exercised and lost a lot of weight....about 5 stone....and was running 10k regularly (about 4-7 years ago). That happened because I hit a bit of a low mental health wise and some kind of self-preservation thing seemed to kick in where I started to believe that I needed to be kind to myself, and looking after my body was part of that. I did well for about 3 years, then the routine got broken with a lot of work travel, and I undid it all.
If any of the above looks like I blame others, I don't, I blame myself.