These results show that HBD2 is involved in gastritis development driven by H. pylori, which facilitates the creation of an epigenetic field during H. pylori-associated gastric tumorigenesis. Here, DEFB4A is linked to gastritis.