The Hamas-led government condemned the violence , saying the Palestinian government is committed to a power-sharing agreement reached with the Fatah faction of President Mahmoud Abbas ealier this month .