I think it's because people don't actually want painless execution, they want it to hurt the criminal for 1) a sense of revenge and 2) deterrence of other would-be criminals. However, it doesn't work for 2) since executions aren't broadcasted/livestreamed.
Really we need two classes of execution: private and painless or very public, painful, and drawn-out.