How is h. Pylori adapted to life in the stomach? Why won't the acid kill it?

Enzymes, motility. H. Pylori produces urease, which enables it to form ammonia from gastric juices, neutralizing the acid around the bug to protect it from acid- this enables the bug to 'swim' around and adhere directly to the stomach lining cells- it's a pretty smart bug!