One year old cries while pooping

My little guy has been on solids and whole milk for over 2 months. I make most of his food and do t rely and pouches that much. Diet is always inclusive of a protein, and a veg. I’ve been laying low on the carbs and occasionally put a little prune juice in a bottle but still- poop problems. He’s drinking water, having a little diluted juice here and there, etc...

My guy used to cry once and awhile when trying to poop but now it feels more frequent. The poops are often hard and small. Occasionally a little blood appears on the poop or while wiping. Help!!