The findings indicate that H. pylori-infected gastric ulcers express higher MMP-7, MMP-9, and TIMP-1 compared to NSAID-related ulcers. Here, TIMP1 is linked to gastric ulcer.