Like, does the stinky fart come about because the poo makes the gas, or does the stinky gas somehow create or condense into poo?

It’s kinda a chicken or the egg question, it’s impossible to knkw