Did they ask about your nationality? Because I'm pretty sure that's illegal:
"U.S. employers can get in big trouble for hiring people not legally allowed to work in the country, which has lead to companies taking stronger measures to find out about their applicants even before they’re hired. But the only way they can do that legally to ask the question directly: “Are you legally authorized to work in the U.S.?” Any other way of phrasing it, such as “Where are you from?” or “Where were you born?” is illegal."