Poped ribs

Career mom

Anyone experience this before while 7 months pregnant. Not fun I was taken to the hospital by ambulance when I woke up to a pop in my ribs while sleeping in bed . I could feel my lower rib pop out then popped back in on its own.

There not to much bruising but man does it hurt. If I move in certain ways I can feel my rib shifting and moving around. There is definitely some swelling in the area my side not normally this puffy looking