How does lord reciprocate with demons?

So even Putana, she wanted to poison Lord Krsna. But she saw Krsna and she thought, Such a beautiful baby. If I had a baby I will have one like this. Too bad I’ll have to kill Him. But because she wanted to kill Krsna He reciprocated by killing her, because she wanted...