This actually happened to me once after I used a whitening toothpaste.
It was an Oral B brand and suddenly my teeth became so sensitive - very painful.
I always see the ads on TV and up until that time, I had no idea what this even meant.
Once I stopped using it, this went away and I have not had it since. Would not be nice to always have this condition.