Turkey has good relations with the United States and Israel , two countries viewed as hostile by Iran 's government .