Variants of pathogens like viruses arise due to mutations in their genetic material. These mutations occur naturally over time as the virus replicates. Most mutations are harmless, but some can confer advantages such as increased transmissibility or resistance to the immune response, leading to the emergence of VOCs.