Trump and Biden vie for credit as Israel and Hamas agree to ceasefire, showcasing rare bipartisan cooperation.