It’s because legal immigrants are overwhelmingly well educated so they vote like the average well educated American does. It also doesn’t help that the current GOP is more or less openly racist so a vote for them goes against basic self preservation.