Why does magnesium hurt your stomach?

“I got a stomach ache”