Hello and welcome to Healthcare Magic. Thanks for your query.
Some persons tend to binge eat whenever they are depressed or cannot cope with or handle their conflicts or stressors. This is an unhealthy psychological defense mechanism or coping strategy.
If you have never had an eating issue in the past then it is likely that the current problem is due to your current episode of depression
. In this case, it is likely that this unhealthy eating behaviour will stop once your depression and anxiety resolve. However, I would still advise you to try and avoid this behaviour as it can get reinforced and become a habit whenever you are feeling stressed.
Wish you all the best.
Dr. Jonas Sundarakumar