It's the second and third vacation homes of the insurance/hospital administrators, equipment/drug suppliers, and doctors/surgeons you are paying for, not the hospital itself. The hospital itself is often getting massive tax breaks and other funding.
The problem is US health care is for-profit and the "American way" is that there is absolutely no limit on that profit, so they charge whatever they want.