Iran stopped communicating with mediators after Israel threatened to bomb Beirut as it fights the Lebanese group Hezbollah.