What causes involuntary movement during standing practice? What is it exactly?

Is it a sort of twitching or is it more like the body's need to move, like you get a claustrophobic feeling inside your body and you feel like you have to move and break free or else...

I have had both and the last one was really unpleasant.
What's wrong?