Many different types of food can cause children to cavities, not just sweets. Foods with high carbohydrate content, as well as some fruits, juices and sodas, peanut butter, crackers and chips are the culprits. The factors that cause tooth decay include the frequency with which food is eaten and the time that they remain in the mouth as particles.