The bugs develop their toxicity from their native host plant - milkweed. These are raised on sunflower kernels and so are not toxic. Similar to how dart frogs retain their colours despite not being fed the bugs from which they indirectly derive their toxin in the wild.