Bacteria associated with caries are able to cause the same due to:
Production of extxacellular polysaccharides like dextrans and levans
Production of acid to hydrolyse diet carbohydrates
Production of enzymes which inhibit normal flora
Inhibition of secretory IgA