Why does Caffeine make me hyper?

How came caffeine makes me hyper, jittery, and makes me laugh a lot but when I take Adderall it calms me down, makes me extra focused and feel good?

When you drink coffee, the adrenal glands are stimulated to produce adrenaline. This is part of the flight or fight syndrome. It is what causes irritability, especially since it also inhibits soothing serotonin.