If lactic acid complexes with the calcium present in hydroxyapatite crystals on the surface of a tooth, it can cause demineralization.
Other organic acids do not complex with calcium to the same extent and so do not promote the same degree of demineralization as lactic.