Centrally planned economies don’t really factor such things in. Extract one resource at a loss to “book” a gain elsewhere.
So they probably think net they are profiting from this. But then, centrally planned economies are not efficient at decision-making...