Answer:
Party politics and ideologies are clearly influential in the development of nations' foreign policy. Thus, for example, the internal position of the ruling political party determines with which countries it will link through political and commercial alliances: for example, a left-wing political party that comes to the government will link itself better with countries with socialist or communist governments , while maintaining cold or even tense relations with countries with free-market or right-wing governments.
In America, for example, republican governments have historically had good relations with Great Britain, France and other NATO nations, while they have maintained tense relations with nations with leftist governments.