The Geneva Convention has nothing to do with it. Sometimes there are good reasons to keep prisoners alive, if only briefly.
If you treat your prisoners well then the enemy will hesitate less when the choice is surrender or death. If they know the will be treated well the that whole “fight to the death” deal becomes less likely.