SLOPPY CUTTING. “Transposons do not always excise their elements precisely, sometimes removing the adjacent base pairs; this phenomenon is called exon shuffling. Shuffling two unrelated exons can create a novel gene product or, more likely, an intron.”
https://en.m.wikipedia.org/wiki/Transposable_element