Weird poop

Baby is just getting over a stomach bug, but this is the first time his poop is this consistency and color. He had peas and carrots today, in addition to formula. Anyone else’s baby have poop like this before? Any idea why?