I truly don't know, Nyongessa. I am answering here to acknowledge the question more than offering an answer. Mary of Scotland was executed to end a challenge to the Crown, Elizabeth, perhaps, but the other examples don't fit this reason.
Hitler saw no future in defending himself or the ambition of the Third Reich. He used cyanide and a pistol, taking no chances. Dealing with Bin Laden, Houssein, and Quaddafi as captives or prisoners was clearly more trouble than it was worth. At least Saddam got a day in court sort of, if only a Kangaroo court.
But I don't know that there was any sort of warrant out for Quaddafi's death and maybe it was an accident but I doubt it. What I take away from it is that there is no longer any real need for legal proceedings. The right to die may be questionable, but killing is not really problematic. We are used to it. Nobody really complains, certainly not the dead.