Nature. The guy with venom has a better chance of killing prey, eating and living long enough to breed. This does not mean that the other critter dies out, they may both continue but diverge into two different lines.
Who determines that the venom is toxic to the pray?