Yep, this is where dehumanizing your enemy leads you. It starts with regarding them as no more than 'rag-heads', which leads to taking trophy photos of dead enemy combatants, which then progresses to individual soldiers murdering wounded prisoners on the battlefield, or the sanctioned and systematic torturing of detainees.
They're all just different points along the same sorry wedge.