These are very painful and one gets relief only after the spasm is released. These can also occur in the chest when the muscles in the chest contract involuntarily. Muscle spasms could even cause a squeezing chest pain that may be mistaken for a heart attack.