Pathogen variants arise through genetic mutations, which are changes in the genetic material of the organism. These mutations can occur naturally over time due to errors in replication or through environmental pressures. For example, the high replication rate of viruses like SARS-CoV-2 increases the likelihood of mutations. Some mutations may provide a survival advantage, leading to the emergence of new variants.