Quoting
Robert Alter:
You shall not murder. Readers thoroughly conditioned by the King James Version's "Thou shalt not kill" need to be reminded that the Hebrew verb ratsah clearly means "murder," not "kill," and so the ban is specifically on criminal acts of taking life. [
source]
Quoting
Nahum Sarna:
13. murder The Hebrew stem r-ts-h, as noted by Rashbam and Bekhor Shor, applies only to illegal killing and, unlike other verbs for taking of life, is never used in the administration of of justice or for killing in war. [
source]