Crying while pooping !

So i have introduce rice cereal and oatmeal cereal to my 5+ old baby . She is all fine and eats well but have noticed, she cries when she poop and it feels like she is in pain. Its not that she is constipated because her poops is soft and creamy but she pushes hard and cries so much. idk know whats that . Have you experience that with your babies?