In an effort to cut costs hospitals severely overwork their doctors and nurses. It's endemic, anyone who knows anything about healthcare understands that people work >12hour shifts where they are always busy and you can see the constant chaos in any ER.
Moreover, despite being overworked and literally caring for people's lives nurses are severely underappreciated. Because people are rude and needy especially when they are sick or their loved one is sick, and a lot of people just don't realize what nurses have to deal with.
Though some nurses really are terrible at their jobs: nurses who are externally apathetic or downright sadistic or dangerously incompetent. But that too leads back to healthcare being mismanaged and underfunded, because proper management and funding is required to find and fire these nurses and or prevent them from being hired.
Also, environments in many healthcare orgs are toxic. Probably because of all the stress that working >12 hour shifts and seeing people severely sick. The drama and absurd rules go beyond anything I've ever heard about in any tech company, things are normalized that in a software job nobody would tolerate.
To say it's "a complex/hard problem" is an understatement. Healthcare is one of the biggest expenses of any country. It really does require tons of resources to diagnose and treat a sick patient: there are only so many surgeons and drug manufacturers and MRI machines, and the same symptoms can be from 1000 different diseases and the same disease can present different symptoms in 1000 patients. In first-world countries we expect to provide quality care to anyone rich or poor, because to deny care is very wrong, but in practice that means we have over 400 million people that need specialized visits and treatment.
But at the least people need to understand, and governments need to stop funding other various things when what we really need is more hospitals and salaries for more healthcare workers. It seems every day I hear about Canada cutting or ignoring healthcare costs or US fighting over funding and whether insurance should be private. As a tech worker I think doctors and nurses should be payed more than tech workers, because what I do is very important, but what they do is moreso because they are literally saving people's health.