Tooth colored fillings can contract and be sensitive for a while. Nerves from cavities can be irritated during the filling process, so the nerve
can become inflamed enough to then need a root canal
. If the filling is to "high" or the bite is to hard, then the tooth can become sore and sensitive also.