A muscle spasm can also occur after an awkward bending or twisting motion. A movement as simple as bending to tie one's shoes or twisting the back to turn and face in a different direction can cause a muscle spasm.