안절부절못하다

Etymology
+.

The form reflects an adverbial use of the ideophone which then merged into a single verb, whereas the alternative form is formed via a verb-deriving suffix.

Verb

 * 1)  to be on tenterhooks, to be on pins and needles