Netanyahu's government has been content with the status quo concerning the Palestinians (Occupation, no negotiations, etc.). In order to preserve it amid all the disadvantageous (to Israel) changes in the region suddenly crystallized with Pillar of Defense, both Netanyahu and Lieberman now recognize that Israel needs at least one strong ally in the region. With their history of cooperation and Turkey's influence in the region, Turkey is the best candidate.
Italian FM arrives in Iran to promote economic, political ties (Reuters)
from the article: Turkey FM confirms resumption of reconciliation talks with Israel