H. pylori causes chronic inflammation of the stomach lining, known as gastritis. This chronic inflammation can lead to damage of the stomach's mucosal lining, increasing the risk of developing stomach cancer. The bacterium produces virulence factors such as CagA and VacA, which disrupt cellular processes and promote a hostile environment conducive to cancer development.