Baby constipation

Victoria

My baby boy is constipated. My husband and I have done the pears peaches prunes peas and the prune juice and pear juice. He goes but it’s all hard little balls. Or all the balls are in one turd. He pushes so hard and turns bright red. We know it hurts him. We tried adding in sweet potatoes butternut squash. Butternut squash doesn’t do to bad. Mangos usually make him go. But still not soft stool. Any suggestions? He hates water!! & cereal backs him up. It didn’t before but now it does with the added fruits and it did when he was eating veggies.