Printing before the digital age was much more space-restricted. The three letters of ‘foe’ may have just fit the layout better than the four letters of ‘Japs’.
Another thought. I know other papers used “Japs” in the headlines, but the Times goes with “Japanese” when they need to be specific. Not PC, I believe, they just think of themselves as more highbrow than the other comics.