The veterinarian said something must be wrong with the water quality. In my case I think the pH level was too alkaline (pH 9-9.5). It weakened the immune system of the sensitive tadpoles and froglets so the fungus could appear.