Some species of bacteria have become resistant to antibiotics that treat infections which of the following explains why bacteria may become resistant?