These muscle contractions can make your legs or arms feel stiff, heavy, or difficult to move, says Beth Warren, R.D., author of Secrets of a Kosher Girl. “Researchers think this is caused by a greater flow of calcium into nerve cells when magnesium levels are low, which overexcites or hyperstimulates the muscle nerves,” she explains.