Oxygen is so pervasive in the environment that it would be very difficult for a microbe to always avoid physical contact with it. What, therefore, is the most obvious way for a microbe to avoid damage
If it cannot avoid it, it just find a mechanism to use oxygen and make it less harmful to itself. This is how the process of cellular respiration may have evolved