This thread is really interesting and really an important question, to help you analyse yourself and move forward.
For me, a large part of it is my Mother. My Mother is by nature a feeder. She loves cooking for people and seeing people enjoy her food. However, we moved countries when I was 2 and this triggered a 'change'. I went from a Toddler who would eat everything, to a Toddler who ate nothing. I know my Mum tried everything, but the only foods I would eat was processed junk. My Mum, being the feeder that she is, couldn't bare to see me go hungry or to see me not enjoying the food she was providing me with. So she capitulated and stopped trying to get me to eat healthily, in favour of foods I enjoyed so that she could feel satisfied. Problem One. As a small child, I never really ate healthily. And My Mum fed me up and the bigger the portions, the more satisfied she felt.
My Mum also comes from a poor family where she went hungry more often than not; not only does my Grandmother have food issues, my Mum too associated food with happiness and being a family and good times. Everything we did involved food. Watching TV, snack time, out shopping, snack time. Everything was so food central. And aside from that, we were encouraged to clear the plate. I still feel a bit of guilt if I leave food as I feel like I am 'wasting money'.
My Dad also has massive food issues. His Mother, my Grandma, has been on a diet for most of her life and as a result, she would deprive her children of sweets and cakes. She would make cakes for her friends but not let her children eat them- as a result my Dad wanted a house full of the sweets, cakes and chocolates he hadn't been allowed and my Mum being a feeder allowed it because it made her happy to see him happy. This behaviour then got transferred to my Brother and myself.
As a teenager, I also had bullying problems at school- my early childhood associations led me to eat as a source of comfort, particularly those sweet foods which seemed to make everyone so happy. And the bigger I got, the more I comfort ate. I ate out of sadness, happiness, boredom. Anything. I was also quite an inactive child (I was a big reader and spent a lot of time in my room) so it was a two pronged problem.
I don't blame my Mum and Dad- I know they love me and they want nothing but the best for me and my Mum genuinely believes that feeding me is loving me. Both of them come from family situations which have left them with a dysfunctional relationship with food- and I suspect neither of them realise it.
What's important is that I realise it, I know what triggers my unnecessary eating and I know I've got to strike a balance between eating foods I enjoy and trying to find enjoyment in food- two very different things. I can't make a promise that I will never emotionally eat again, but I can take steps to eat more healthily when I do and eat less than I did. That and being able to tell when I am hungry are really important parts of this journey to me, as it means that hopefully, this will be the last time in my life I have to lose a serious amount of weight.