Oil swung between gains and losses as Russia’s war against Ukraine escalated while Iran agreed to stop producing uranium enriched close to the level at which it can be used in nuclear weapons. Meanwhile, the International Atomic Energy Agency said Iran had agreed to stop producing near bomb-grade uranium, potentially easing tensions in the Middle East. While geopolitical developments have …