There was a court case that ruled that they have to be evicted because of not paying rent.
"In response, the owners of the property (a private Israeli NGO, Nahalat Shimon), claim they have the legal title to the property in question and that, in the absence of rent being paid by the tenants, the tenants ought to be evicted for breaching the law."
So it's not some hayfork/violent spur of the moment thing. Ownership is somewhat regulated and can be fought in court.
"The Sheikh Jarrah property dispute (as described by the Israeli government and their supporters) or the Expulsion of Palestinians from Sheikh Jarrah (as described by Palestinians and their supporters) is a long-running legal and political dispute between Palestinian refugees and Israeli Jews over the ownership of certain properties and housing units in Sheikh Jarrah, East Jerusalem that has been called a microcosm of the Israeli–Palestinian disputes over land since 1948. Israel's laws allow Jews to file claims over property in East Jerusalem which they owned prior to 1948, but reject Palestinian claims over property in Israel proper which they owned. In this specific case, the Palestinian residents of Sheikh Jarrah were refugees who got plots, previously owned by Jews, in UNRWA lottery, relinquishing in return their refugee documents and accompanying rights. They have no right under Israeli law to repossess their pre-1948 homes in Haifa, Sarafand and Jaffa."
Or, in other words, I believe that Hamas would have much less pull if it was just walls and not all the other stuff too.