This feels very much like a ploy to try and find a way to be sprung from jail. That is, he hopes to win the election and then rely upon international pressure on Israel to release him.
And why is he in prison? For orchestrating terror attacks. Now I know that some people will make the tired argument of terrorist versus freedom fighter, but that doesn’t play real well.
When you do not distinguish between military/government targets and civilians you lose the freedom fighter tag.