Turkish authorities have detained 33 people suspected of spying on behalf of Israel and relations between Turkey and Israel have worsened after the outbreak of war in Gaza.