Yes it is a pregnancy thing! I had bad cramping in both pregnancies and found that the magnesium tablets really helped a lot. The cramps went away after I had the baby.