The whole reason we have those types of employment and public accommodation laws is a special case though. In terms of employment, we prefer this to a world where black people or women can't get jobs, because jobs are necessary, or can't enter half the establishments because people witnessed that Jim Crow was a shitty and shameful situation. And I do stipulate that that doesn't mean the same as "all women have the right to a job at my company upon demand."
But why don't we also have laws criminalizing things like refusing to be friends with $SKIN_COLOR people? I think it's because it's only in those specific realms like employment and public accommodation where we have created rights. The right to shop in a place that is open to the general public is a right Black people got from a law. And the right of people to be considered for a job without regard to their membership in certain protected classes is something the Equal Employment Opportunity Act of 1972 created. There is no right of foreigners without a green card to enter in the first place - CBP can completely legally say no to anyone, so no 'counteroffer' of conditional admittance could be inappropriate. The only exception I can think of is misconduct of the officer, e.g. 'I'll admit you if you give me $10,000' or a more unsavory favor. But with that already being illegal, I don't think it is too relevant here.