Poop diaper 5 month old

My baby just turned 5 months old and has started severely teething.

This is his diaper. He is ebf what would cause this? He’s had the occasional booger but isn’t congested, no fever, relatively happy other than gnawing on everything and is drooling like crazy...

This is his second poop today... his first poop was yellow...

Any thoughts would be appreciated