All of this because of a bloody promise he made to Fancy Pants in Canterlot, made possible because he got wrapped up in a promised duel with Prince Blueblood that got him involved in the tournament that facilitated everything. And it all could have been avoided that morning after Johan's coronation when he offered him a way out of being dragged to Canterlot in the first place.