Both these territories provide a huge amount of resources to sustan united states' economy. New mexico contain a lot of oils and metals while the California territory had the perfect climate for various type of fruits or other agricultural products to grow.