Virtue signaling. By implying that you're a criminal they feel it makes them look better.
As for you, there's nothing morally wrong in wanting to not be trapped by a liar. And it doesn't magically become morally wrong if you walk into a two-party state.