As with the case of France, Turkey's objective is not to have worse relations with Israel. Instead the worsening of relations between Turkey and Israel is a product of internal issues on both sides.
Turkey and Israel do have a long history of military cooperation and coordination. Furthermore, Turkey has bought military equipment from Israel (tanks and drones come to mind), but I'm unaware of "technological aid" being supplied by the Israelis to Turkey.
In terms of the deteriorating relations from the Turkish side, some background is necessary. Turkey is deeply divided between a traditional elite with military connections and a new, more devout elite which better represents the majority public opinion. Turkey has long been a country in which the United States is deeply unpopular (on both the left and the right). By extension, Israel is too. The military elite, which is close to both of those countries, is now experiencing a backlash which has manifested itself mainly in Recep Tayyip Erdoğan's Adalet ve Kalkınma Parti (the AKP).
Erdoğan has been less compromising on issues which are popular in Turkey, but perhaps problematic in foreign relations. Until recently, Turkey had been enjoying good relations with Syria and Iran, whereas in the past they had been much cooler. In the Arab world in general, Turkey now has a very positive image. Part of this rapprochement involved being more openly critical of Israeli policies towards the occupation of Palestinian land and the treatment of Palestinian refugees. Israel used to be an ally against common Arab threats, but these do not exist as in the past (for example, Syrian support for Kurdish rebels).
Turkish public opinion also holds that Israel has also secretly allied itself with Kurdish groups active in Turkey and surrounding countries. Leaving aside whether this is true or not, it is another reason for an increasingly negative perception of Israel.
Israel has also been willing to sacrifice its relationship with Turkey to a degree. It could have avoided a lot of bad press in Turkey had it handled the Mavi Marmara incident more delicately. It also has taken actions such as publicly humiliating the Turkish ambassador to Israel, Mr. Ahmet Oğuz Çelikkol, by inviting him to a meeting and making him sit on a very low chair while the Israelis were sitting on very higher chairs looking down on him. They also placed an Israeli flag on the table while failing to provide a Turkish flag, in violation of diplomatic protocol.
That being said, as long as there is a power struggle in Turkey between the pro-Israel military and the AKP, relations between an Erdoğan government and Israel are unlikely to improve. Likewise, as long as Israel continues to project a negative image, it will be politically difficult for Turkish politicians to promote a closer relationship.