Gook
wiktionary
The word was used by U.S. Marines in the early 20th century; [1] [2] the earliest written example is dated 1920. [3]
Folk etymology suggests that during the Korean War, young Korean children would point at U.S. soldiers and shout in Korean 美國(Miguk, “America”). Soldiers heard the word as “me gook”, as if the children were defining themselves as “gooks”. The soldiers proceeded to use that term to refer to the Koreans. The word 국 ( 國, guk) itself simply means “country”. This explanation ignores the fact that there are many examples of the word's use that pre-date the Korean War.
Possible blend of goop + gunk, or related to gobbledygook.
gook (plural gooks)
etymonline
gook (n.)
1899, U.S. military slang for "Filipino" during the insurrection there, probably from a native word, or imitative of the babbling sound of a strange language to American ears (compare barbarian). The term goo-goo eyes "soft, seductive eyes" was in vogue c. 1900 and may have contributed to this somehow. Extended over time to "Nicaraguan" (U.S. intervention there early 20c.), "any Pacific Islander" (World War II), "Korean" (1950s), "Vietnamese" and "any Asian" (1960s).