Workout pain

I’ve been super lazy and haven’t been working out as much as I was before getting pregnant. Today I did the elliptical on moderate resistance. Soon after my workout I had terrible diarrhea and now I have pain near both of my hip bones. Normal? Abnormal? Thoughts?