A federal appeals court will decide whether to reinstate President Donald Trump's travel ban after a contentious hearing in which the judges hammered away at the administration's motivations for the ban, but also directed pointed questions to an attorney for two states trying to overturn it.