They didn't always vote democrat --- at one time --- before all these amnesties, they actually voted more Republican.
What happened is that once "latinos" were primarily Conservative Cuban Americans and Conservative SW Americans of Spanish ancestry. Some of those who came over from Mexico at the time of the Mexican Revolution were likely to vote Republican --- but the vast majority coming in from Mexico in the past 20 to 25 years are not Conservative people.