When a drug-resistant strain of HIV emerges while a person is on antiretroviral therapy (ART) for HIV treatment.