Twilight accidentally over-shot a spell, which went straight through the portal and by pure chance hit Sunset. Well, so much for band practice. Hooves aren't exactly made to play guitar.
It's better to see death from her funny side. On my funeral there's gonna be a clown. I would hire Pinkie Pie, but sadly she only exists inside our poor minds.