Since it would be expected that a player would only make such a bet when he had the best possible hand, the folk lore says that this is how the best possible hand came to be known as the nuts.
Explanation of Nuts\n\n The nuts  in poker refers to the best possible made hand at any given time. The effective nuts  refers to the best possible made hand once we take into account card removal effects or range information.