Diet side effects

Hello guys so i've been on a low( carb \ sugar ) diet for two weeks now . it's going great for my body but i've noticed that i'm becoming more stressful \ depressed lately .. Does my diet have anything to do with this ?