But if youâre reaching into the candy jar too often, sugar starts to have an effect on your mood beyond that 3 p.m. slump: Studies have linked a high sugar intake to a greater risk of depression in adults.