why does caffeine and sugar make me more tired?

I rarely drink any caffeinated beverages. Maybe 1 soda every week or 2. I mostly drink water. I’m almost always tired.I’ve always hated coffee and refused to drink it. But now that I’m 23 and life is getting more and more stressful and I seem to have less energy everyday, I’ve been trying to force myself to drink coffee because it seems like soda or desert for a simple sugar rush does nothing for me but want to go to bed. No spike in energy at all and if anything I become immediately more tired. Coffee seems to have the same effect. Why does sugar and caffeine help others to wake up and be alert and just makes me want to crawl in bed? Could this be a medical issue? Diabetes does run in my family if that could have any effect to this.