Don't be naive and think that God can be behind killing of innocent people.
Have you read the bible? God kills well over 1,000,000 innocent people
How many does God kill during the 10th plague of Egypt alone? God murders the first-born male of every Egyptian citizen, slave, and even the animals... are you claiming they weren't innocent, or the bible is lying about God killing them?
God kills them because they are egyptian pagans and they have many sins...
I`m not very relligious ,but this is my explanation of the bible....