When there is a loved one taken away suddenly, it doesn't make sense at all to some. If they had faith they certainly question it and God. Some offer themselves instead. Some renounce God and Jesus. Some go into a deep depression. Some even go as far as killing themselves. We do not know why loved ones leave us unexpectedly or not.We do have to be in good grace with God to get through death and destruction, in order to cope. God gave us emotions to feel. Those feelings can be hurt and pain. In looking at the Bible you see many a righteous man and woman being tested. Their belief in God and God in them kept them from breaking. It doesn't explain or justify the death of some. But God knows what it takes to get through it. And the deaths that seem unjustified? God's got those too.
What ever it takes we have to trust him.
Romans12:19 Do not take revenge, my friends, but leave room for God's wrath, for it
is written: "It is mine to avenge; I will repay," says the Lord.