It's because your tooth's enamel, which serves as a protective layer, may degrade with time, exposing the dentin, a soft inside layer of the tooth where the nerves are located.