Answer:
John Adams wanted to avoid a full scale war with France opposing his own Federalist Party that under the direction of Alexander Hamilton used these events to turn U.S. citizens against France. Most of the impact of the XYZ affair was in domestic politics, as it was used as a tool for the opposition.