They are taking advantage of a degraded Hamas less able to defend Syria with Assad and Russia.
Iran is fighting for Shi'a hegemony in the Middle East.
Saudi Arabia and Turkey are in competition for control of Sunni hegemony in the region.
It's the Persian Empire vs the Arab-Islamic Empire vs the Ottoman Empire.