The word "tragic" can't normally function as a noun, so I wouldn't accept the second sentence. However, you can easily fix it by adding a noun: It was a tragic end/event/ accident/ story/case/etc.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.