US President Donald Trump's fiery threats against Hamas may cause the ceasefire deal to collapse, say the Palestinian group has warned.