Once the foods with sulphur get there, bugs in your gut break them down and produce the hydrogen sulphide gas.