caprice

/kəˈpriːs/
caprice
sudden change of mind

mid 17th century: from French, from Italian (see capriccio)

noun

a sudden and unexpected change in mood or behaviour, without a clear reason

the caprices of the electorate

Derivatives