Gore did the same back in 2000. In fact, all USA presidential candidates always reported foreign contacts during a campaign to the FBI. Trump was the first who not only failed to report, but all members of his campaign actively lied about contacts with Russians. And, Trump actively solicited their help.
The conclusion from the Mueller report was that the trump campaign did not coordinate with the Russians, but welcomed their help. (His campaign manager was in direct contact with a russian intel officer). When Trump was president, and he was asked in a TV interview about foreign governments giving him info about his opponent, he said he'd accept it.
Remember, Trump is fighting against going to gaol. (BTW, so is Netanyahu). Thus they will do whatever they can, legal or illegal to stay in power or regain power. It's got nothing to do with what's good for Israel or USA.