It's usually anxiety or boredom. If I don't have something to occupy my time with then I have to be actively doing something even if it's tapping a pen repeatedly or whatever.