What causes pelvic pain in pregnancy?

Hi mommas. I’m a FTM, I am 32 weeks 5 days now and since 4am this morning I’ve been having pelvic pain. I tried to ignore it by sleeping and using pillows to get comfortable but the pain is still here. I got up about 7am puking and dry heaving because of the pain. Drank some water and went back to sleep turned the heat up because my hips ache so much. Then got up again at 11 and had a bout of diarrhea😥 can this be a sign of labour or is it all normal at this stage? I don’t know what braxton hicks feel like nor a contraction I’ve never had them before! Any help is appreciated. Thank you xo