When you eat too much sugar, your blood sugar levels peak and drop. This causes you to experience irritability, mood swings, brain fog, and fatigue. You may find yourself feeling anxious or depressed. Carb-laden foods create the same response.
Chronically high blood sugar levels are linked to inflammation in the brain, which may be a cause of depression.