"Mama becomes legal when baby is born."
That's incorrect.
Until 1965, people admitted to the country legally had no automatic right to bring their families. After 1965, minor children of immigrants had the right to sponsor immigrants. This is what produced the chain migration that has emptied entire Mexican villages.