The Ottomans have bigger fish to fry in the Balkans and the Middle East. Launching a direct invasion against one of the premier world powers of the day would not necessarily be suicide, but it would be a waste of energy and a possible humiliation if the invading troops get stranded hundreds of miles from home.
Waste of resources is trying to secure Hungary while bashing on Vienna and trying to conquer only Western Persia knowingly that Persia will want te regions back.
Iberia is accessable from the Sea and it eliminates one major hostile power in the Mediterranean. Sounds fair to me. Although the possibility to invade is rather small after 1542.