Spasms and cramps can also be caused by neuromuscular disorders, such as multiple sclerosis or a spinal cord injury. Movement disorders called dystonias also lead to forceful contractions. Dystonias can be a complication of stroke. Certain medications can cause involuntary muscle contractions as well.