I'm ok with religion, as long as people aren't trying to convert me or tell me I'm going to hell for being an atheist.
WOOLOOLOOLOO!
Why does an entire village get wiped out in a hurricane? Were all those people bad? Why does a mother lose her son? Why do innocent people die or get injured as they collide with a drunk driver?
When bad things happen to good people, sometimes we find religion, or bargain with God, or maybe just fall into a deep depression at the behest of the saying, "life isn't fair, it's never been fair to me and it never will be."
This doesn't mean God doesn't exist, it just means that we don't know why bad things happen to good people. There's a lot of guesswork out there, but that's mostly what it is. So, I think the question isn't why do bad things happen to good people, the question is more aptly, what do we do when bad things happen to good people (or us)?