Question: why did xyz affair happen?
Answer: The XYZ Affair was a diplomatic incident between French and United States diplomats that resulted in a limited, undeclared war known as the Quasi-War. ... In the late 1700s, the final French Revolutionary government, the Directory, was experiencing problems financing its European wars.