Probably from Yiddish פֿוי (foy), from German pfui, influenced by phoo.
Practice speaking and memorizing "phooey" and many other words and sentences in English.