Discoloration or yellowing of teeth can be caused by a variety of factors such as aging, smoking, drinking coffee, tea, or red wine, and poor oral hygiene. Certain medications, genetics, and medical conditions can also contribute to discoloration. Tooth decay or trauma can also lead to discoloration or yellowing of teeth.