3 week old keeps pooping mid sleep

No

Poops halfway through sleep cycles, fusses until changed. I’m not getting any sleep! How long does this phase last!?

Baby is bottle fed breastmilk. Poop is bright yellow and more runny than seedy and 2-3 diapers per feeding cycle but doc said that was normal. 🤷‍♀️