The US president has eased restrictions on Russian energy as he grapples with an oil crisis sparked by the war in Iran, further straining relations with Ukraine.