God is Good…Some of the Time

We give God credit when something good happens but when something bad happens, we don’t acknowledge God’s part in it. Is this inability to credit God  for all of it for our comfort or some other reason? Is the problem God or is it how we think about God?