Iran is invested in ending the existence of Daesh no matter where it might exist. The Iranian activity in Syria was in pursuit of stability, not greater war. Iran has a large Shia diaspora in Syria. Trump is wrong and he is escalating a war that never existed against the USA.
Trump is an expansionist in the Middle East.