...
He viewed the US as the major obstacle to Japan's objectives. I don't remember if he predicted that oil would be a factor.
Oil in modern war is ALWAYS a factor. It is a means to an end.
The Japanese knew it was a factor. One of their major targets was to take the oil in the Dutch East Indies and Borneo, what is now Indonesia and Malaysia. To protect that oil as it moved from that part of Asia to Japan the Japanese "had" to attack and hold the PI, French Indochina, Hong Kong, Singapore, Shanghai, etc.
So to get to the oil the Japanese "had" to attack the French, Thai's, PI's, the Dutch, the UK, and oh yeah, the US. Since the US was the only major power that would be able to stop them.
The Japanese goal was the Greater East Asia Co-Prosperity Sphere aka the Japanese controlled areas of Asia. Super Ego and Super Greed. The means to the end was the oil. No oil and you cannot fight a modern war much less run an modern economy.
By the end of WWII the Imperial Japanese Navy and Army was having a heck of a time flying planes and moving ships. Why? The US sub fleet had wiped out the Japanese merchant fleet. They could not move oil from the Dutch Indies area to the Japanese Home Islands. Since they could not move the oil to the IJN, the IJN moved its ships to the oil. By 1944/45 the IJN's surface fleet mostly resided in Borneo/Malaysia to be near the oil to fill their bunkers.
There is a saying that military amateur's study tactics while professionals study logistics.
Generals and Admirals like things that go boom. Everyone wants to command a battleship. Who wants to be the CO of a tanker?

No glory there. The Japanese never had enough tankers in their own fleet. Oil was brought to Japan by the US, Dutch, UK, etc. The only hope the Japanese really had in WWII was that the US, as they thought, would NOT fight. Yamamoto thought otherwise and knew he could win for 6 months. And he did. Then the tied turned.
The Japanese simply did not have the logistical ability to move around the supplies they needed especially after ships starting sinking. Their yards could not replaces the losses. Thus they were in a death spiral oil and resource wise.
Yamamoto was killed when his transport plane was shot down by P-38's specifically sent to kill him. The P-38 was the only fighter than could reach the area where Yamamoto was going to land. Just barely. They somehow lucked out in finding him and shooting down his plane. The US did not have UAVs firing Hellfire missiles back then. Result is the same though.
Later,
Dan