Antigenic variation can occur through several mechanisms, including genetic mutation, genetic recombination, and gene conversion. For instance, in some Plasmodium species, the causative agent of malaria, genes encoding surface proteins undergo frequent changes, enabling the parasite to continuously alter its antigenic profile and avoid immune detection.