Baby struggling to poop

Jed

Hello! We have a 7-month old baby. She has started eating solid foods now but we are quite worried that her pooping pattern experience is not always easy. At the first introduction to solid foods she really struggled to poop. But after a few days we were happy she was having solid poops and a lot of them. Now she's struggling again though it's not as painful as the first time. We're seeing smaller solid ones, with slight bleeding in the anus. Is this a normal pattern for babies on solid foods that sometimes it's easy and at times it's hard to poop?