The story
From wife-beating + question, with reference to the oft-cited example "Have you stopped beating your wife?".
Etymology from Wiktionary, CC BY-SA 4.0.
Today it means: A question that presupposes some controversial premise, such that it cannot be directly answered without incriminating oneself or, at least, unintentionally conceding a point; a loaded question. Full definition →
From wife-beating + question, with reference to the oft-cited example "Have you stopped beating your wife?".
Etymology from Wiktionary, CC BY-SA 4.0.