And yes, I still name the company when I tell the story of my worst experience interviewing at a company, 30 years ago.
I’ve also heard (via HR) about candidates being surprised to not get the offer in cases where I kept the interview going and pretended things were going well.
Interviewing isn't just for fun, and even if you don't get the job, you can go through the interview to practice, and hopefully to figure out what went wrong.
If after 20 minutes they just say 'I think this is a no so go home' I wasted a lot more than 20 minutes and got nothing out of it.
This way you don't waste the candidate or your time if it's clearly a no after interview 1. They feel a bit bad because they obviously didn't pass, but if you've communicated ahead of time it's not a rug-pull.