Variety of things
When the liver is scarred blood flow "backs up" into nereby veins like those in the esophagus, they can then bleed. Therapy is aimed at lowering the bleeding risk. Medicines which lower the pressure in the veins ( beta blockers, nitrates) can help. So can procedures that divert blood flow from the liver ( "tips".