US President Donald Trump suggested Israel should cancel the ceasefire in Gaza if all captives are not released.