2 month old spit up

De

My baby sometimes pushes so hard to poop he spits up, sometimes it comes out of his nose. Anyone else have the same issue? He doesn't seem to like it when it happens but calms down pretty quickly.

We've already seen a doctor for his poops because they're a bit more solid than normal (he's strictly formula fed) which is why he strains so much to poop. Just want some other mamas opinion/experience on this :) tia!