It's being squeezed out of the market because of cheaper alternatives. Banks don't want to give loans because they see those loans as risky. Coal companies might go out of business and default on their loans. The risk of that is relatively high with coal. Which is why banks and investors are looking elsewhere for more lucrative or safer investments. It's hard to argue with that.
And the circumstances that make coal increasingly financially unsustainable are only going to get worse. Cheaper solar, wind, and battery means even coal plants that may still be profitable now aren't going to stay profitable much longer.
That seems to be true around the world. Even China is projected to reach peak coal in the next few years; after which it is projected to shrink there as well. World peak coal usage was last decade already. A lot of countries are pretty far done getting rid of it completely. Australia is late to that party.