US president warns Hamas “it will only get worse” if they do not accept the deal.