H. pylori infection is a major risk factor for gastric cancer, particularly adenocarcinoma and MALT lymphoma (mucosa-associated lymphoid tissue lymphoma). The bacterium causes chronic inflammation of the stomach lining, which can lead to cellular damage and genetic mutations over time. This chronic inflammatory state sets the stage for carcinogenesis.