There are quite a few different ways that dental pulp can become inflamed. The most common cause of pulpitis is deep cavities which expose the pulp to bacteria.