It isn’t the amount of sugar you eat; it is the amount of time that the sugar has contact with the teeth. Foods such as slowly-dissolving candies and soda are in the mouth for longer periods of time. This increases the amount of time teeth are exposed to the acids formed by oral bacteria from the sugars.