A person can be killed instantly through many different means.
As we know it, to be killed painlessly, is to be killed instantly.
If you instantly destroy a person's entire brain then they died without pain.
Yet the most effective ways of instantly destroying someone's entire brain are considered inhumane.
If instantly killing someone by smashing their head with a massive rock, or shooting them in the brain stem is inhumane, then there is no humane way to kill someone at all.
I mean, there is no humane way to kill someone.
But on the USA death penalty issue, yes, generally choices about how it is carried out, are made with the spectators in mind, and the process itself is made more torturous in order to make it look better. (John Oliver has some great information in his death penalty video)
What about when it’s their choice, like euthanasia?
And (afaik) with the executors mental health in mind as well.
e.g. if you just crush a head with a stone you will know you did it.
If two others and you have to push a button you can tell yourself that it’s more probable you didn’t kill somebody than that you did.