The emergence of humanitarian rights in war and manifestations of preserving human dignity in the behavior of combatants towards each other