First off, I don't think Buddhism even has a notion of "bad". It recognizes that there is suffering, but it doesn't say suffering is bad; it merely says, matter-of-factly and without judgement, that suffering is a consequence of desire. In order not to suffer, the Buddha teaches, one must (among other things) be in accord with and accepting of one's circumstances, whatever they may be. Buddhism is very practical that way; there's the old saw about the Zen master who quipped, "Before enlightenment: chop wood, carry water. After enlightenment: chop wood, carry water."
When "bad" shit happens, in that light, the suffering one experiences doesn't come from the thing that happened, but instead from wishing things were somehow different than they are. When you do that, you're diverting your awareness and mental energy from the reality that is manifest and present in front of you, and instead focusing on something that is not only not real, but can never be real.
And when you do that, you completely miss the fact that, up there, on that ledge, a lone flower has somehow managed to survive all the carnage around you. Had you not been preoccupied with wishing the world was other than it is, that flower would have reminded you that, even in the presence of destruction, life and beauty are resilient, and will ultimately triumph.