Why does my 3 week old's poop suddenly look like this?

I exclusively breastfeed, my baby eats often, is gaining more than enough weight & has plenty of wet & dirty diapers. He has always had the mustard yellow "healthy breastfed" poop, but his last 2 diapers have had this green, lettuce-like stuff in it! Other than this, I have also been having some shooting pains in my breasts the last week or so. I thought maybe it was thrush but it kind of comes & goes. Baby has been spitting up & choking a lot too. I told our pediatrician & he said it's fine as long as he's gaining weight & still has wet diapers. But it still worries me. He doesn't spit up after every feeding or even every day, but when he does it is a LOT of spit up.
 Any idea what's going on?

Glow Resources

Let’s Glow

Glow is here for you on your path to pregnancy

Glow helps you navigate your fertility journey with smart tools, personalized insights, and guidance from medical experts who understand what matters most.

25+ million

Users

4.8 stars

200k+ app ratings

20+

Medical advisors