new technology can drastically reduce production costs, the price of the commodity may have gone up since it was previously mined, meaning a mining company can now make a profit on the ore due to lower production costs.
There are thousands of 'mineralised waste' (low grade) stockpiles around Australia that companies are holding on to for when the price of the commodity rises.