Democrats encouraged a porous southern border because they saw migrants and their American-born children as a source of future political support.