How much American anti-immigration sentiment was due to bigotry, and how much due to to economic fears? Since that covers a few centuries and many immigrant groups, for the sake of discussion let's narrow it down to the Irish (not Scotch-Irish), especially during the peak Irish immigration era of the 1840's and 1850's. However, discussion of any other group or time period is also more than welcome.
By bigotry I mean hating people solely due to their ancestry, culture, etc. By economic fears I mean hating or disliking, or at least opposing immigration because of a fear that it will lower wages and increase unemployment.
As for bigotry, I might be guilty of a little presentism, but I think the Irish would be the least "foreign" immigrants to the English, Scotch-Irish, etc. that were already here. Their culture is very similar, or at least more similar than other immigrants groups, and many or most Irish spoke English. I'd think that alone would make them less foreign than say German immigrants, of which there had already been many. I suppose the Irish being Catholic would be the biggest problem. What about Germans though? Coming from a country that's roughly half Protestant and half Catholic, weren't many of them Catholic?
As for the economic fears, before anyone can write "lump of labor fallacy", I'll make an argument that the economic fears may have been legitimate. The lump of labor fallacy says that there is only so much work to be done, so more people means lower wages and higher unemployment. Obviously that's a fallacy in the long run, but the short run may be a different story. There was a certain mix of rich, middle class and poor people in the US (obviously I'm simplifying for clarity) but almost all the Irish were poor. More poor people would be good for the rich factory owner who wanted to hire more employees, or the middle class person who wanted to hire a maid, because they'd work for less. It would be bad for poor people for the same reason though. Also, while more people means more demand, and hence more work, the poor don't demand much (because they can't afford it) compared to the rich and middle class.
Moreover, even if my economic reasoning is wrong, the most important thing here is what people expected the economic effect to be.
I realize that economic fear may lead to bigotry, making the two difficult to untangle. I also realize precise answers to this question are impossible. However, I'd be interested in any historical work that showed which factors were more or less important.
I can't really speak on Irish immigration specifically other than a lot of the anti-immigrant messaging and media (that I've seen) that people put out talked up their supposed lack of morals and work ethic that came with being Irish and Catholic.
While reading up on Polish immigration I found two things that might be related. Firstly, in considering the hierarchy of which workers were preferable, the list went something like
Americans>British>Germans>Italians>Irish>Polish>Blacks
Those at the top of the list had good protestant or German work ethics and the people at the bottom were catholic, slavic, or black which sounds like some bigotry to me.
I'd argue against discounting labor as being a prime factor though, as Chinese immigrants caught untold amounts of flack for competing with non-Chinese steam laundries (mostly Scandinavian I believe). Additionally I know in the case of Polish immigrants, when someone would make it over and find a job they'd send for their male relatives to assume jobs at the same place.