After months of skirmishes and thousands of casualties, Israel and Hezbollah agreed to the ceasefire deal on Tuesday (local time).