The expression that best explains why exploration created problems for both Spain and Portugal is:
High prices and an imbalance in trade weakened both nations long term.
This captures the economic challenges that arose from the influx of wealth due to exploration, which led to inflation, dependency on precious metals, and trade imbalances that ultimately weakened their economies over time.