Torture is not reliably effective. People are liable to say anything. Inaccurate information produced by torture is not useful information. Torture also has other unwanted results - it helps to motivate adversaries, and it makes surrender a lot less likely.