Cavities are caused by bacteria that eat away at the tooth enamel. These nasty little critters cause holes in teeth, leading to tooth decay and eventually cavities. Cavity prevention is an essential aspect of oral hygiene, so knowing what causes them is good! Here are some leading causes of cavities that you might not have known about.