ref
Borrowed from Yiddish אוי (oy, “oh, oy”).
oy (interj.)
Yiddish exclamation of dismay, 1892, American English. Extended form oy vey (1959) includes Yiddish vey, from German Weh "woe" (see woe).