Not quite, naomi.....depends on how you define tragedy and in fact both cases are. The Wilkipedia dictionary is a good starting place:
"trag·e·dy
/ˈtrajidē/
Noun
An event causing great suffering, destruction, and distress, such as a serious accident, crime, or natural catastrophe.
A play dealing with tragic events and having an unhappy ending, esp. one concerning the downfall of the main character."
And we have examples of both definitions here, I would surmise.