Could be onomatopoeic in origin. Till the seventeenth century it would be pronounced ooch, which has the vowel of the more natural howler-monkey exclamation we make on finding something is too hot.