Can a hospital refuse treatment based on recent cancel insurance?

A hospital is obligated to treat you. However, the cost of the treatment will increase if you cancelled your insurance.