What cause of black stools most likely describes his symptoms and signs?

A 46-year-old former salesman presents to the ER, complaining of black stools for the past few weeks. His past medical history is significant for cirrhosis. He has gained weight recently, especially around his abdomen. He has smoked two packs of cigarettes a day for 30 years and has drunk approximately 10 alcoholic beverages a day for 25 years. He has used IV heroin and smoked crack in the past. He denies any recent use. He is currently unemployed and has never been married. On examination you find a man appearing older than his stated age. His skin has a yellowish tint and he is thin, with a prominent abdomen. You note multiple “spider angiomas” at the base of his neck. Otherwise, his heart and lung examinations are normal. On inspection he has dilated veins around his umbilicus. Increased bowel sounds are heard during auscultation. Palpation reveals diffuse tenderness that is more severe in the epigastric area. His liver is small and hard to palpation and he has a positive fluid wave. He is positive for occult blood on his rectal examination.

What cause of black stools most likely describes his symptoms and signs?

A) Infectious diarrhea
B) Mallory-Weiss tear
C) Esophageal varice