While habitual leg shaking could be a way to work off nervous energy, tics can instead be triggered by anxiety. CNA Life