Stress causes a drop in defenses and decreases saliva production, leaving the mouth dry. Saliva is the protective element against cavities, and without it the acids directly attack the enamel, which is the natural layer of protection of the teeth.
Also, stress is the first cause of bruxism , that is, chronic clenching of the teeth, especially at night. In the long run, this causes the teeth to wear out and break.