Tooth decay is primarily caused by poor oral hygiene and high consumption of sugary foods and drinks. Bacteria in the mouth feed on sugars and starches, producing acids that attack tooth enamel. Inadequate fluoride exposure and lack of regular dental visits also contribute to the development of cavities.