It could just mean that he has a nervous twitch, or a bad habit. My roommate always feels the urge to chew on something. It kinda reminds me of a teething puppy.
I’ll do it sometimes when i’m angry at someone. doing something stupid like that helps me from losing my cool and doing something i’ll regret later on.