Baby screams when he tries to poop

He’s 3 weeks and the past couple days he has been screaming when he poops. Normally it’ll help if I breastfeed when he does that. He relaxes and he poops. The poop is normal so I don’t think it’s constipation. I looked it up (I know googling isn’t the best option) and it said that some babies do this when they are learning how to relax and push. Has anyone else dealt with this and have any tips? I know he’ll eventually figure it out but I just hate to hear him scream. He hardly ever cries so when he starts screaming like that it just breaks my heart 😭