I'm reading a book right now called "When Food is Comfort: Nurture Yourself Mindfully, Rewire your Brain, and End Emotional Eating." by Julie Simon Amazon Link and one of the first steps to figuring out why you overeat is to track your emotional and physical state when you have a craving. What has become obvious to me is that I crave carbs and sugar when I'm tired, anxious, or stressed out which makes total sense. After seeing this it's made it easier to be mindful of these emotional states and prevent binges.