Emotions are often tied to food to some degree. After all, there's a reason why we call it comfort food. Certain foods just make us feel better emotionally.
But it can become a problem when you eat because you want to feel better emotionally—especially if that becomes how you process all of your negative emotions.