Yes, cavities can cause sensitive teeth. A cavity is a hole in the tooth caused by decay, which can damage the enamel and dentin layers of the tooth. If the decay reaches the dentin, it can expose the nerves in the teeth, leading to sensitivity. This sensitivity can cause discomfort when eating or drinking hot or cold foods and drinks. If left untreated, cavities can cause further damage to the tooth and increase the risk of infection.