The hesitation reflects a rapid shift in the politics of immigration since Joe Biden won the presidency in 2020.