The best explanation for why the Portuguese expanded into the Indian Ocean is:
With the Ottoman capture of Constantinople, the Portuguese had to find another route to access the Asian spice trade.
This expansion was driven by the desire to secure access to valuable spices and other goods from Asia, particularly after the Ottoman Empire's control over traditional overland trade routes.