Babies can't fart in the womb. They don't have bacteria I'm their bellies that causes gas until they actually sTart to eat after being born. You might've felt a hiccup or something.
^^^ she's right. The womb is sterile there is no bacteria or air to cause a fart. It does feel like that sometimes but the baby probably puttered around in there causing a bubble fart feeling.