About Turkey and Erdogan, in relation to the Gaza conflict.
https://www.politico.eu/article/recep-tayyip-erdogan-turkey-israel-hamas-war-palestine-diplomacy/
Turkey has overlapping interests with Israel, at least some, which serves as basis of cooperation. The article notes the question of Azerbaijan. I also would add that Israel helps for Turkey to deny the Armenian genocide - because many (not all) Israeli decision makers and even scientists, historians believe that acknowledging genocides are cheapen the Holocaust (Israel typically and strategically don't recognizes other genocides).