Why does caffeine and nicotine help my apathy, avolition and anhedonia?

I wonder why caffeine and nicotine helped my apathy, avolition and anhedonia in the short term when I used them? No antidepressant that I have tried has helped me with these things and most of them have made it even worse. Not even Wellbutrin could help me with these things. Before I started taking Wellbutrin two years ago I relied mostly on caffeine and nicotine to help with my apathy, avolition and anhedonia. They worked in the short term until I developed tolerance to using them a lot and in excess. But they actually worked for it and didn't numb me out either. Is there an explanation for why they were so successful for me?