Iran and Pakistan have attacked militant bases in each other's territory, but also reaffirmed their commitment to good neighbourly ties. The countries have a history of tensions and cooperation, and a common problem of Baloch insurgency, but in the context of the Middle East conflict, their actions mark a dangerous escalation.