The first is competitive, because they're looking for mates, and the second is cooperative, because if they're all vocalizing in sync together, it makes it really difficult for predators like coyotes, foxes and owls to single out any individual for a meal.