Infection with the hepatitis B virus is the major cause of liver cancer. Worldwide, eighty percent of cases occur in people who carry the hepatitis B virus.his means many people have hepatitis B from birth, an important factor in developing liver cancer. It is the slow damage caused by chronic hepatitis B infection that leads the liver cells to change into cancer cells.