The story
Compare Early Modern English och, Scottish Gaelic och, Irish och. Compare also Scots ach, Scots ouch.
Etymology from Wiktionary, CC BY-SA 4.0.
Today it means: general interjection of confirmation, affirmation, and often disapproval. Full definition →