The rivalry between Spain and Portugal was for land. Spain and Portugal was because they were going to fight over land. The Pope didn't like this because that was not being good Christians because Christians aren't supposed to fight other Christians. The Pope solved it by dividing the Earth into two sides Spain and Portugal.