The story
Genericization of the codename Wild Weasel of the first aircraft tasked with the anti-SAM role in the USAF during the Vietnam War. From the dancing of weasels in the wild and their behavior of hunting snakes, contrasted with the maneuvering of the wild weasel aircraft and their hunting of SAMs.
Etymology from Wiktionary, CC BY-SA 4.0.