I think the WHY matters in helping to make sense of things and trying to prevent them in the future. I have no opinion on whether or not the WHY should matter when it comes to sentencing someone.
Not all terrorists target innocents, and many world governments do. In the end, all governments go to war and kill people with families on the other side.
Yes, the why should be examined to see where we might improve what we do as a nation. It doesn't have any bearing, though, on the perpetrator. It's been proven throughout history you can't kill 1000 civilians because their government killed 500 of yours. That government will simply kill 2000 of yours.
"
Not all terrorists target innocents" < == let's keep this in the context of 9/11 and the targets that were attacked. Each target was selected as symbols of the US: Military, financial, and (we assume) government. None of these target had any tactical advantage for Bin laden. They constituted a message with meaning.
Also, I don't believe we purposely target civilians to be killed. They either had terrorist ties, were active combatants, or they were the unfortunate "collateral damage" caused by going after a legitimate tactical or strategic target.
If there was ever proof our command structure authorized the targeting of civilians in retaliation for 9/11 or any similar assault, we would see the next world court trying those people for crimes against humanity.