How much of that is just from your hormones being trashed due to a severe deficit?
Large caloric deficits (1000+/day) in leaner people is known to tank T levels among other things. When I was on such large deficits, I had very weird mood/arousal swings. Nothing that problematic for someone with as much executive control as me but it was very weird to be held hostage to.