What happened to the yellowing of the child’s teeth?

It may be because the child has taken tetracycline medication or the fluoride level in the drinking water is excessive during the developmental stage of the teeth, or it may be a shallow caries caused by dental stains or bacterial infection due to plaque buildup.