Israelis and Palestinians rejoiced on Thursday after a ceasefire and hostage deal was announced under the first phase of U.S. President Donald Trump's initiative to end the war in Gaza.