ChatGPT taught me a new word to describe that type of lying: paltering[1].
[1]https://www.merriam-webster.com/dictionary/palter