There is always sort of "arms race" between phages and bacteria. Bacteria needs to be more resistant for bacteriohages in order to survive, and phages needs to be virulent enough in order to reproduce. They are also highly selective, so there are lesser side effects.