I did some research on causes of cavities and alternative approaches to correct/prevent them. One alternative health source revealed the connection between sugar and tooth decay, and it is different from the dentist's take on it. Apparently, it is not the acid in sugar and the bacteria that feed on this sugar that causes tooth decay. Rather, it is the imbalance of calcium and phosphorous that sugar consumption causes, which results in minerals being depleted from the bones, including the teeth.
This is interesting because when under stress and depleted in magnesium and other minerals/nutrients, the body starts drawing energy sources from the bones. Stress also tends to elevate blood sugar levels, which must add to the calcium/phosphorus imbalance. We also tend to crave simple carbohydrates and sugar fixes when under stress.
I was able to avoid cavities for a number of years and thought I had it licked (no pun intended). I thought regular dental cleaning and flossing/brushing would keep the cavities away. However, I ended up with three cavities in the space of a year. I guess they were forming at the microscopic level for longer than that, but it did come as a shock.