Etymology
Today it means: Used to express disappointment or dismay. Full definition →
Natural exclamation.
Etymology from Wiktionary, CC BY-SA 4.0.