It's over the counter and exterior use only, very safe.
Fungus infection on feet are very common, it could be gotten from any source.
Maybe your child walks barefoot on bathroom or locker room floor, maybe from kids of daycare.
Don't just blame shoes.