Turns out, sugar isn’t the only culprit behind cavities.