Easy.
Say i’m pro-life. I can be all for war, if I believe that the war itself will mean less death; if i’m certain lives will be lost anyway, then war is the lesser of two evils. I can be pro-death penalty if I believe that keeping a murderer alive will result in more deaths than just one, his own.
If i’m pro-war, I can be pro-life because I may see many humans are corrupted and therefore acceptable to kill, to an extent; a foetus or baby has not yet been corrupted, and must be allowed to make it’s own choices before it can be killed. I can be pro-death penalty because those criminals have made choices to get where they are.
If i’m pro-death penalty, I can be pro-life for the same reason as before; a foetus/baby has not yet made decision, and is innocent, whereas a criminal has chosen to get where they are, and have committed a crime. I can be pro-war because again I may feel that soldiers and adult humans in general have made their choices to be where and who they are, and so killing them is acceptable.