気まぐれ
きまぐれ · kimagure · JLPT N1 · noun
caprice
🦋 気 (mood) + 紛れ (wander off) = a mood that drifts away on a whim
気まぐれ combines 気 (ki, mood) with 紛れ (magure, straying off course). A mood that strays off course without warning is a whim or an uneven temper.