1903, American English, of obscure origin, probably a back-formation from gooey.
[perhaps sound symbolism, influenced by glue; perhaps fr bur-goo, ''oatmeal porridge'']