H. pylori does not survive in stomach acid; it burrows under the mucus layer and sits on the epithelial surface, where the pH is near neutral — the one mild spot in the stomach. Understanding that move requires knowing how the acid is made and how the mucus barrier works.