It's both.
One of my sisters was a team manager for a large team of district nurses (NHS). The whole service was transferred to social services (council run), who then outsourced it to private companies. My sister and about a hundred qualified staff were made redundant. Some of them were re-employed (on lower rates of pay and insecure contracts), but much of the work is now being done by carers without medical qualifications.
The clients now get a couple of short visits a day (if they're lucky) and are often admitted to hospital to be on the safe side. When the service was run by the NHS, district nurses could assess patients and deliver treatment if necessary. Carers can't do that and there is virtually no district nursing team left.
Therefore, people are admitted to hospital, sometimes just for observation, and hospitals won't discharge them if there isn't 24/7 care available at home.
In addition, community hospitals with low dependency beds have been shut down, so there is no 'half way house', so people end up blocking beds in acute wards. Admittedly, some of the geriatric and medical wards were a bit grim and people wanted to get home as soon as possible, but the option isn't there now, so people are either discharged too early (often requiring readmitting) or they stay in an acute hospital, sometimes miles away from relatives and friends.