Israel took the action after President Trump signaled the U.S. government would not find their ban offensive. Pavlich quotes a Deputy Foreign Minister concerning the reasons:
The planned visit they have prepared is entirely aimed at provocation and incitement against the State of Israel, and not to study the State of Israel's activities. A self-respecting state does not allow those who undermine its existence to enter its borders and continue incitement.One could wish the U.S. showed as much self-respect. Hat tip to Lucianne.com for the link.