Lethal injection simply takes too long and adds many variables not the least of which is establishing and maintaining an IV line. Nitrogen asphyxiation could be a good alternative, but would have to run the gauntlet of legal challenges before it could be used. A firing squad is a reasonable alternative if competent marksmen are used.
I’ve read of a few decapitations due to botched hangings.
There is a science to that “art”.