There are different deficiencies that can cause muscle cramping.