Why did Spain and Portugal want to find a sea route to Asia?

They wanted a better way to get spices and other trade stuff at better costs. At the time, the cost was too high to go through the land in the Middle East...