Torcer, Spanish for “to twist”, as well as retorcer (meaning the same) both come from the Latin root torquere.
From the Latin torquere, we also get the English… torture. You can see the t‑r-k sound mapping to the English t‑r-t, since the “k” sounds are very similar to the “t” sounds.
Torture, after all, is just an extreme form of being twisted: mentally, physically, in all ways.
From the same root, we also get the English… to thwart. Funnily enough, to thwart is–in a sense–the exact opposite of torture.