There's a broad consensus that peace between the Israelis and Palestinians depends on a two-state solution. So why doesn't it happen?

There's a broad consensus that peace between the Israelis and Palestinians depends on a two-state solution. So why doesn't it happen?