Fussy baby when she poops

Angel

My 1 week old has been crying every time she poops lately. It's a little hard and takes her a while to get it all out. Is there anything I can give her to loosen it? Or what is causing it?