Leaders from political rivals Hamas and Fatah have decided to stop
fighting each other for fear of continued escalation. Although an
agreement on a unity government has so far failed, an Egyptian security
delegation, which had mediated the talks, was able to persuade the
groups to address the infighting which has killed 19 people and
threatened to dismantle the entire government.
The talks took place along Egypt’s coastal strip and according to Hamas spokesman Fawzi Barhoum in Gaza, they were successful. "These efforts have been crowned by an agreement between Hamas and Fatah to stop tensions between the two sides and to bring the security situation under control," Barhoum said.

Fatah spokesman Tawfiq Abu Khoussa said that officials from both sides agreed that dialogue must be the main component to maintain peace. To follow up on this idea, members of both groups will establish a joint trouble-shooting office to address any differences before they escalate into violent clashes.
  
"The agreement aimed at resolving internal violence and I hope it will be a serious start to remove tensions between the two movements," Abu Khoussa told Reuters.

Members of both factions have spoken out against the violence, but the combination of pressure from the West on both Fatah and Hamas, President Abbas’ threats to recall elections or throw out the Hamas government completely and the worsening economic situation, which has left many Palestinians without basic needs, has translated into violent outbursts to relieve the built up frustration.
  
This week Abbas said he may call for a national referendum for approval and support on any upcoming changes in the government, which he acknowledged needs to happen soon whether it be a coalition government or new elections.

Sourced from Al Jazeera