Any sugar will cause an insulin response, and that causes all aminos except l-tryptophan to be dumped. Sugar also gives you a temporary spike in serotonin, at the expense of other neurotransmitters, and possibly lowering your available serotonin, unless you are eating foods with high l-trytophan (brain aminos primarily occur in meat, although some nuts and fruits are also high)
Note that if something in the brain is released alot, it will run out, and become desensitised, just like with drug highs.
Drug users call this tolerance and withdrawl, but really they are similar mechanisms - your brain runs out of juice, and the cells become tolerant, so if you stop, it feels worse than when you used the drug, or before you started, even though the drug was ruining your mood in the first place.
For a mood improving substance to give sustainable effects on mood, it would need to replace the lost aminos acids, and give only a mild broad spectrum effect. One could argue that any form of release itself is not sustainable, and that the only way to sustain mood effects is by proper brain regulation, not by agonism or release.
People even become tolerant to anti-depressants, and then they become more depressed. Stronger drug effects cause tolerance quicker, like MDMA or amphetamine. The insulin related boost in serotonin, is not subtle at all, its quite dramatic.
I thus would compare sugar/carbs to addictive drugs (rat studies show cocaine addicted rats prefer sugar to cocaine!). Short term they will raise your mood, if you go off them, you will become short term irritable/sad - long term they themselves cause depression. So what you experienced I would describe as withdrawl, or as low carbers often call it, carb-flu, or adjustment to ketogensis.
In addition, ketogenic diets temporarily increase noradrenaline and adrenaline (it resolves in about a month), which can produce anxiety. Studies show that this effect peaks at around day half a month, and neutralises by a month.
Certainly, ive a psychology degree, understand the brain well, and theres nothing ive read that suggests carb mediated mood improvement is sustainable in the brain, or that eliminating carbs would effect long term mood. In fact it should do the opposite, long term, because your brain receptors would no longer be drained or tolerant.
If carbs were long term anti-depressants, things like sugar or cocaine would be prescribed for mood disorders.
However if you suffer from depression or anxiety, and go from a high carb/sugar diet to a low carb diet, one might veiw this process similar to giving up drugs or begining excercise regimes - by doing the process step by step at a pace you can handle, using supplementation, watching your nutrient levels, and engaging in activitys that promote calm or happiness.
Your brain will need to adjust to the lack of brain stimulating, drug like activity of high sugars/insulin response.