If God exists, his logic is spot on. Everything that happens is because God wants it to happen, otherwise He'd stop it. The same is true of cancer, AIDS, alzheimers disease, violent car accidents, floods, tsunami's, people who lose arms and legs, people who are burned alive, people who are stoned to death, starve to death, bleed to death, choke to death, have their heads cut off by people who worship other gods, flesh eating bacteria, the ebola virus, and Here comes Honey Boo Boo.
BTW, God also wanted Obama to win 4 years ago, and if he wins again, God wanted him to win again.