Poop after whole milk

Di

We started whole milk this week per the dr recommendation. Baby would poop solid after the milk ... mustard pebbles but lately she cries in pain just for 2-3 pebbles to come out... anyone else been through this and asked their doctor ? Thanks !