A deadly gun rampage at a pair of northern California mushroom farms likely stemmed from a workplace grievance, authorities said on Tuesday, as new details emerged about the latest of two back-to-back mass shootings that claimed 18 lives and horrified the nation.