After bearing the brunt of Iran’s counterattack, the financial powerhouse is strengthening ties with Israel and challenging Saudi Arabia.