The ceasefire announcement follows weeks of clashes between the neighboring countries that were triggered by a gun massacre on tourists last month.