It’s hard to believe you’re too dense to understand those concepts and how they can co-exist.
Yes, the Ukraine invasion led to the boycott of Russian oil by most nations, which led to higher oil prices in the global oil market. You seem flummoxed by that, unfamiliar with the laws of supply and demand.
And yes, there are countries that still buy their oil from Russia, and the price of that oil is elevated due to the elevated global price of oil, leading to high profits for Russia. If you were a patriotic American you would blame those countries for continuing to buy Russian oil. Instead, you blame Biden. Because you are a disgracefully dishonest GOP hack.