Help !

My baby is passing so much gas but she’s not pooping ? Dr said it was normal for her to not poop a couple of days but why is she passing gas but not actually going poo?