The Trump administration has claimed participants in protests against Israel's war in Gaza forfeited their rights to remain in the country by supporting Hamas.