If car A produces 1 tons of emissions to build, and 100 tons over its life, and car B produces 2 tons of emissions to build, and 50 tons over its life, car B is the better one for the environment. (52 < 101)
Looking at emissions to build as a metric by itself is disingenuous, you should look at lifetime emissions instead.