The answer is a drug-resistance.
In natural selection, genotype variations that
will increase the chance of survival and reproduction of some organism are
preserved and will be inherited. The drug resistance is the trait that increases the chance of bacterial survival and reproduction.Thus, if there are pathogens with drug-resistance and pathogens without drug-resistance, then natural selection will favor those pathogens that are drug resistant.