President Rouhani says Gulf States, backed by the US, enabled the deadly gun attack that killed 25.