Bad mite infestations and using utensals that are not streile are 2 examples. These can cause infections that can change the plant for the future.
I think it's worth pointing out that the bugs and non-sterile utensils are the vector, not the cause. The only 'infection' that can can permanently alter the plant's DNA is a virus, at least as far as I know.