Vomiting blood in the late stage of liver cancer indicates that the patient has developed upper gastrointestinal bleeding, which is a serious complication. The most common factor is that most patients with liver cancer have liver cirrhosis, and some patients have cancer embolism in portal vein and hepatic vein, and then portal hypertension, which can lead to rupture and bleeding of esophagogastric fundic varices. These factors can lead to rupture and bleeding of esophagogastric fundic varices. Another reason is that patients with hepatocellular carcinoma suffer from erosion of gastrointestinal mucosa and extensive bleeding due to coagulation disorders.