Yes, some negativity will always come up. But I've known people who have a miserable attitude about everything, or far too frequently, and as a disproportionate response to their environment. It's like they wake up and say "I want to be a crummy person today".
I was working data-validation at a big tech company, and the data-validation tool was under active development. It'd crash ~20 times in an 8 hour workday. I would happily restart my Tool and get back into it, but other people would huff and puff and rant. And it's like: What are you accomplishing with this attitude?
Empathically speaking, maybe it's because they have a hard home life or had a tough childhood. But it's unprofessional and your negative energy affects me. So I'll be the mirror you need and throw it all back in your face. :)