my baby is hurting me☹️

Today I'm currently 17weeks and 3 days with baby #2. I've been feeling baby move for a few weeks already. My last two Drs appointments, dr said baby was measuring small,causing my due date to be pushed back twice. For a week now I'll just be laying down and when baby moves close to my inner left pelvic bone  it hurts really bad causing my body to jerk. If baby is measuring so small... Then why is s/he causing me so much pain?