The JApanese were fighting the war with Germany and America had made talks with the allies to join their side, and obviously Japan wasn't happy about this. They had Intel that the whole American navy was harbored at Pearl, so thaey attacked it brutally. The AMerican navy was not all in Pearl, and lo, the Japs made their biggest mistake of the War.