Was it true for various brands and types of tea?
The most common thread would seem be the caffeine, but obviously tea has it’s own botanical chemical profile, with higher tannic acid as one example.
If you have a mild allergy to some constituent compound, particularly if you consumed it frequently suppressing acute reactions, it wouldn’t surprise me that you’d experience an agitated mood.
I haven’t done systematic trials among different teas. Maybe, I should.