Acidic environments in the oral cavity cause the dissolution of hydroxyapatite crystals in tooth enamel. Preventing this mineral loss maintains structural integrity and prevents hypersensitivity.