capriciousness

noun
  1. the quality of being unpredictable and subject to sudden changes in mood or behavior

Examples