Yahya Sinwar drove a strategy to exploit Israel’s willingness to trade Palestinian prisoners for hostages. The Gaza leader spent two decades in prison in Israel.

The Hamas Leader Who Studied Israel’s Psyche—and Is Betting His Life on What He Learned