Japan conquered territory for raw materials; oil is one of those raw materials. The battleship fleet anchored at Pearl Harbor was to be eliminated, to prevent them from interferring with Japan's...
1) The U.S. entered World War II and 2) the U.S. lost just about all of its naval fleet except for its carriers (which were out on a patrol at the time).