The attribution is much more grey with the advent of so much globalization. As humans we like to pin the blame on a singular entity but the real world is far more complicated.
Technically it shdnt. Just imagine you send your oil to another country to produce stuff for you, should the carbon emission for that be counted for country A or B? I think clearly country A. Now what if the oil doesn't come from country A but is bought from the money for the goods from country C. Well, technically you shdnt attribute it to country B. Either A or C.
per capita is the more accurate measure. Yeah I note my mistake in another reply.
Even so, the US historically took the number one spot for both total greenhouse gases and greenhouse gases per capita. If you look at it from a perspective of a longer timespan, the US is basically number one.
It is only in recent times does the US now currently take the number two spots for both categories.
My bad, number 2 largest producer of greenhouse gases per capita. Right behind Australia which basically has the same type of suburban city design centered around cars.