Attack on Pearl Harbor
Japan and the US knew they might go to war.  They had been planning for war since the 1920's.  Japan was concerned about the new American control of Hawaii and the Philippines.  Japan thought those territories were within their sphere of influence.