The doctors don’t create the bills, or even really influence billing. The billing issues are caused by hospital administrators who are mostly MBAs or Policy masters, and they’re negotiating with MBAs in insurance companies.
Like any aristocratic guild that provides a necessary societal function however, they as a block choose to profit from it.
This is not every doctor or even every ER doctor. But it's important not to let doctors as a class off the hook.