The governments of Spain and Portugal sponsored overseas exploration and expansion in the late 1400s and into the 1500s because
they (1) desired spices from the Indies (2) owed allegiance to Islamic caliphates (3) militarily defeated the Ottoman Empire (4) lacked access to northern Africa
The answer is likely the first one, "<span>desired spices from the Indies". In the mid 15th century after the Ottoman Empire defeated Byzantium, they cut the European spice trade.
The Spanish decided to try and to India by sailing west--accidentally discovering the Americas--and the Portuguese went south around the south of Africa and up to India. </span>