Where does hydrogen sulfide come from?

Hydrogen sulfide is a colorless, flammable poisonous gas with a characteristic smell of rotten eggs. It is produced by decay of plant and animal proteins that contain sulfur.

Hydrogen sulfide is a toxic compound at the moment of initial contact, what is why drinking water containing this gas should not be consumed.