Low salaries deter doctors and other staff from joining the State service. They also realise that the government underfunds state hospitals. Not all hospitals have the medical equipment to provide satisfactory healthcare.
Also, the free or low cost (for most people) service results in people using hospitals instead of local clinics and pharmacies, where fees are not high.