Demonstrations are fueled by local grievances but some activists' anti-Iranian rhetoric has caused concern in Tehran, which closely backs both countries' governments