Often it’s the direct management but some times it’s the upper-upper management. Decisions made by corporate positions that impact on-site positions can send a shock wave through a company causing people to leave. Just another view..
Management includes the company. But I believe this is true 100% whether it’s direct management or corporate management that is the most common reason people leave followed by pay or lack of advancement potential.
It’s the on-site manager which leads to upper management that doesn’t do anything about the problems on site with staff, that makes people leave the job.
You can pick your job but you can’t pick your team. I would work with each individual as much as possible and finding our differences to overcome. However, if you continue to retain a bad employee, it will affect the rest of your team negatively and eventually you will lose your best employees.
I went on vacation for a week and used Uber Eats to deliver Starbucks to my team in the office on my own dime. It's because of them I was able (with their coaxing) to feel comfortable enough to even take vacation. My team is incredible and I hope they always feel valued.