In the process of root canal
treatment, a dentist removes damaged or dead nerve
of a tooth.
Once nerve is gone, no pain sensors inside the tooth to feel cold, hot or pain. However, this nerve is intertwined with blood vessels, and water supply. So when tooth is sealed up as to maintain sterile environment, it loses water supply and gets brittle and discolored.