The classic theory of deterrence presupposes a calculating evildoer who can evaluate the cost-benefits of proposed actions and will act and forbearfrom acting on the basis of these calculations.
They need little enough excuse to do it, and the only connection between their censorship and the war on terror is that their Western friends might be more inclined than usual to forbearfrom criticism in case they offend an ally in the war.