A muscle spasm can occur after an awkward bending or twisting motion. It may even occur after a simple sneeze or cough. A movement as simple as bending to tie a shoe or twisting your back to face a different direction can cause a spasm. Muscle spasms can also occur when a heavy object is lifted incorrectly.