Pregnancy rib pain can be the result of your baby physically kicking you in the ribs, stretching out under your ribs, or just moving by your ribs. The pain can also be caused by your muscles stretching out. You can try some exercises https://youtu.be/BiEsSMQzHCs