Melena often results from damage to the upper GI tract lining, swollen blood vessels, or bleeding disorders. The most common cause of melena is peptic ulcer disease, in which painful ulcers or sores develop in the stomach or small intestine. This can be caused by an infection of Heliobacter pylori ( H. pylori ), which causes inflammation of the ....