Why should pregnant women eat more vitamin D-rich foods if they have leg cramps?

Pregnant women’s leg cramps are mainly caused by calcium deficiency, and vitamin D can promote the absorption of calcium in the body.