vagary
Definitions
An unexpected and inexplicable change in a situation or in someone's behavior.
An extravagant or erratic notion or action.
Examples
The weather in the mountains is subject to the vagary of sudden storms.
She decided to quit her job on a sudden vagary, seeking a life of travel instead.
The success of the new product line was at the mercy of the market's unpredictable vagary.