It can be stress or anxiety related. It can even be triggered by boredom.

Audra Attaway as transcribed by Lindsay Holmes, 13 Things People With OCD Want You To Know