My players have a habit of always torturing enemies they capture for information, how can I make our adventure less macabre?

So I’m running the lost mines of Phandelver as a new DM and we’re about 5 sessions in. I’ve noticed a pattern that seems to repeat itself: the players defeat and capture an evil NPC character that knows some information, that character is tied up and intimidated/tortured, then that character inevitably spills the information it knows.

This cycle is getting a bit repetitive and depressing. How can I, as a DM, encourage my players to try more diverse ways of obtaining information from uncooperative NPCs without withholding story-critical information?