Erdogan often has difficulty trammeling his own ideological reflexes , as when he referred to Iraqis killed in Fallujah as martyrs or when he questioned the legitimacy of Iraq 's elections last January or when he accused Israel of '' state terrorism '' after the assassination of the Hamas leader Sheik Ahmed Yassin .