Strange poop and baby crying uncontrollably

My baby has this strange looking poop. I’m not sure how to describe it but it seems like a mixture of white, green, and yellow poop with hard bits. Does anyone have an idea what this might be?