Cramps, Lilletta, Ketosis

Hi, 
I've had my Lilletta for about three months now. I had two failed paragards before this (they were expelled within the first few months). Today I've been having really strange cramps. I'm spotting (normal) and get really painful cramps on and off for maybe 30-50 seconds and then they subside. I'm not sure if this is my Liletta coming out or something else. I have also just started a Keto diet which can do strange things to your body, like cause constipation. I had some coffee earlier and did have a bowel movement but I am still in pain and I'm just not sure what's wrong. I just had my strings checked and had a pelvic ultrasound last week and things were normal. Could this just be ketosis causing pain down there?