He thought himself ready to be a god, the hubris of mortals tend to lead to only one path in such a case, death.
For the rest of history Star Swirl the bearded faded without any trace of what happened, but for Celestia the truth was far more painful.