I'd also say it's a way to see what Trump will do if he wins.
After all, one of the reasons the Hamas attack succeeded is that ol' Bibi pulled back forces guarding against Hamas in the Gaza Strip is that he was using those forces to intimidate the judiciary trying to proceed with trials against him.