The United States welcomed the declaration of a ceasefire in fighting between Israel and Hamas on Monday, and warned that the onus was on the Palestinian militia to maintain the truce.