Because foreigners don't want pieces of green cotton for their goods, they want things.
If interest rates are low, money is cheap for Americans and they can buy real things with something that is worth less (not worthless) that it was. Its worth less because Americans didnt have to produce to make that dollar.
On top of that, since the dollar is the reserve currency, all the price inflation is effectively diluted among all countries.
So America gets to print its budget deficit and not even suffer as great an inflation. But the price inflation pressure is there, it must be there.
Its what the French called “America’s exorbitant privilege”
As to the oil shock, of course that affected prices. But the embargo only lasted 6 months, didn't cover Europe and oil is fungible (ie Americans can buy Norwegian oil destined to Ireland at a small premium and the Irish buy oil from the Arabs [1])
[1] this is an illustrative example. I don't know or care where the Irish buy oil