Why does earth life use 20 codons in triplets?

Link. “horizontal gene transfer will work only if the codes in both partners exchanging genes are identical.”