The problem is exactly Pashinyan himself. After the recent attacks he was about to sign off on part of Armenia and hand it over to Azerbaijan without any resistance!!! There was a mass protest and people were about to enter the ministry to physically remove him so he was forced to step back from that plan. Pelosi's visit was exactly because of that (after the plan failed).
Turns out Iran's military needed to cross Aras river for the consulate (basically the same as peacekeepers) to be opened inside Kapan despite Pashinyan resistance. The officials already told him that they won't accept any border changes regardless of who agrees on what.

Nikol Pashinyan has been a disaster for Armenia. He seized power by toppling the government led by Serzh Sargsyan during the "velvet revolution". Pashinyan wanted Armenia to move away from the Russian-Iranian zone of influence and align with the NATO. And this move backfired, as the Americans refused to help him when Azerbaijan invaded Karabakh with the help from Turkey. What surprises me is that Pashinyan still remains in power. In any other country, he would have been overthrown immediately after the military defeat and tried for high treason.