The sanctions played an indirect role. The sanctions stepped up Japanese leaders' desire to grab new markets for raw materials the old-fashioned way -- by use of force.
Sanctions were tried as a deterrence.
The Japanese thought our military was weak, and we thought their navy could never attack Pearl Harbor. We saw our oceans as protecting us. Some Japanese leaders saw the Japanese people as superior and invincible.
Plenty of misconceptions on both sides.