Jordan’s Attarat power plant was envisioned as a landmark project promising to provide the desert kingdom with a major source of energy while solidifying its relations with China. Deals surrounding the plant put Jordan on the hook for billions of dollars in debt to China — all for a plant that is no longer needed for its energy, because of other agreements made since the project’s conception. The result is fueling tensions between China and Jordan and causing grief for the Jordanian government as it tries to contest the deal in an international legal battle.