“Words” are one way to provide aid and comfort to the enemy during time of war.
I have no problem with a long prison sentence, but the death penalty seems a bit harsh.