When someone phrases a question awkwardly to elicit a wrong response

A "trick question" is a question where the words are arranged in such a way as to produce an incorrect answer.

Trick question — Cambridge

a question that makes you believe you should answer it in a particular way, when the real question is hidden or there is no right answer


If the question is posed in good faith then it's a poorly phrased question (couldn't resist). If the awkward phrasing was intentional and the "wrong" answer is actually the desired outcome, then it's a trick question.

a deceptive question that is intended to make one give an answer that is not correct or that causes difficulty

Deceptive (above) underlines the intentionality of the trick: that was such a deceptive question!

Would you eat a slab of muscular tissue from a corpse? ...No? Well, I guess I'll have this juicy steak all for myself then.

(this trick actually appears in some Heinlein novel featuring Lazarus Long, but I can't remember which).

You can also ask a question in a "correct" way but using loaded language, leading to a loaded question.

A classic example is, I believe, have you stopped beating your wife?.


inveigle

to persuade (someone) to do something in a clever or deceptive way

to get (something) in a clever or deceptive way