The jay treaty of 1794 had offended the French as a betrayal of their 1788 treaty of alliance with the U.S. the French began to take American ships to show their irritation. Adams sent envoys to negotiate peace, but France refused which is technically called the XYZ affair