https://www.washington.edu/news/2006/10/05/emotionally-ambivalent-workers-are-more-creative-innovative/
This increased sensitivity for recognizing unusual associations, which happy or sad workers probably couldn't detect, is what leads to creativity in the workplace.
"Due to the complexity of many organisations, workplace experiences often elicit mixed emotions from employees, and it's often assumed that mixed emotions are bad for workers and companies," said Fong, whose study appears in the October issue of the Academy of Management Journal. "Rather than assuming ambivalence will lead to negative results for the organisation, managers should recognize that emotional ambivalence can have positive consequences that can be leveraged for organisational success."