Imagine you created a new currency in the US: FidoBucks. Not even a crypto but a regular currency you can print at your whim. Obviously nobody's really going to want your currency and it will have zero value. But now imagine, after some backdoor deals, you make it such that FidoBucks are literally the only currency accepted at gas stations. And not only that both those gas stations agree to spend any extra profits they make buying in FidoBuck denominated treasuries. Now not only are people going to want your currency, but they will literally need it.
And since FidoBucks are now directly tied to access of a critical commodity, it will have also have a guaranteed minimum "value" that's tied to the cost of oil. So people can feel pretty comfortable holding and trading Fidobucks. In fact the new stability of your currency means you'd likely see people starting to trade it for far more than oil, to the point that gas becomes just a fraction of its trade.
This is essentially what the petrodollar did, but it of course started from a far higher point than zero of course. Once we ended the fixed convertibility of the USD to gold in 1971 [1], demand in the dollar started rapidly declining, and its relative value began decreasing. After the petrodollar this all reversed, hard. It's to assign a specific value to any of these changes, because it's all dynamic - just like in our simplified FidoBucks example so much would depend on the dynamic scarcity of gas, how many FidoBucks you print, the total value of outside trade, and a million other variables. What is safe to say is that it dramatically strengthened the position of the currency, and is a large reason that until extremely recently, if China and Russia were trading - they'd settle that trade in USD. Now they're trying to create the next FidoBuck backed by a combination of land, gold, and other finite resources.
[1] - https://wtfhappenedin1971.com/