It is not necessary as such, but simply there. Scarce resources form the basis of economics, as it is essentially about determining which uses scarce resources will flow into. As we can't produce all we want with the given resources, it has to be determined what those resources will be used for.