Spitting blood from the mouth is called vomiting blood and is commonly associated with diseases of the digestive system, starting with diseases of the esophagus, in the case of ruptured esophageal varices, esophagitis, esophageal cancer, and pancreatic tears. Vomiting of blood can also occur with ulcers, polyps, and stomach cancer in the gastroduodenum. For diseases of the liver and gallbladder, such as malignant tumors of the liver, liver abscesses, hepatic aneurysms, gallbladder stones, and gallbladder cancer, gastrointestinal bleeding can also occur. Diseases of the pancreas, such as acute pancreatitis, pancreatic cancer. Upper gastrointestinal bleeding can also occur. For diseases of the systemic system, such as severe blood diseases, such as thrombocytopenic purpura or acute infectious diseases, or emergency ulcers in the case of uremia or cerebral hemorrhage, blood vomiting can also occur.