Why would Iran cooperate with elements of the US government in a way that would see their country devastated by war?
They are both looking for ways to make Trump look bad and lose the election. No one is trying to provoke a war per se, although that may be the result of undermining Trump’s resolve.