Missense mutations occur during DNA replication when an incorrect nucleotide is incorporated into the DNA sequence. This nucleotide change alters the mRNA transcript and subsequently changes the codon, leading to the incorporation of a different amino acid during protein synthesis.