Americans welcome immigrants who contribute to their welfare—less so refugees and others who come at a cost.