Actually 99% of thickened nails result from a birth defect, which may show up as the child ages.
There is almost always a family history of such things. The fungus
mif there, is always the result of, not the cause of the problem. Thus antifungal therapies almost never cause it to disa[ppear. There is no known cure for "horn" nails.But they are cosmetic problems only.