The US has called on Hamas to agree to a bridging proposal for a ceasefire in Gaza after it gained the backing of Israel.