Because it lets them see how people react under pressure. If people think the stress detector works, they are more likely to be honest because they are worried the people using it will think they are hiding something.it is a mechinal version of “we already know the truth, we are just asking to see if you lie to us”.
The implication of the machine often gets results even though it isn’t reliable in any way since stress is not an indication of anything specific.