Pain killers are known to work by interfaring with the production of a chemical called prostaglandins. Certain prostagladins helps in protecting the stomach lining from the corrosive effects of stomach acid, as well as playing a role in maintaining the natural, healthy condition of the stomach lining. Painkillers reduces the formation of prostaglandins thus can lead to gatrointestinal bleeding.