But, thinking about it more deeply or what others could term as outside-the-box, it could mean that God was only good to them but not to others who perished in similar accidents! Winners in contests and games are often those who use the the phrase 'God is good'. Understanding it well could easily mean that God was not good to the losers! In short, it could only be taken into context that God is only good to the winners (who are only a few) and not good to the losers who are more in number!
I believe in a God much differently from how others believe their God. I am not also a religious type of person who professes his faith to look good. In such circumstances, I would rather say, God has his intentions or plans. Or, maybe God has another purpose for the turn of events whether it be pleasant or not.