God hates loneliness, and community is God's answer to loneliness. When we walk alongside other people, we find a community where we learn how to love.
If we condone torture, we yield the moral high ground to our enemies and encourage anyone who hates us to stoop to using that subhuman level against us. We reap whatever we sow.
So I would say God hates war, but God loves every soldier.