In plays out pretty comically in Austin TX in my opinion. You have these teeny affluent enclaves (search for "Sunset Valley", "Rollingwood" and "Westlake Hills" near/inside Austin) that anyone else would consider "part of Austin", but they don't vote in city elections or pay city taxes (but they certainly take advantage of all the benefits of being close to Austin...)
This makes rankings by population rather biased and spawns many endless discussions on whether city X is bigger than its rival city Y (and sometimes it might actually have real-life consequences, say, when the central government comes up with some funds for cities of size greater than some threshold).
* Age of the city
* Natural boundaries (rivers, mountains)
* How government is setup, in some countries (and in some areas of countries) many things are done at the city level, others bump a lot up to county, state, or even country government. The USA manages schools at the city or below, and so city boundaries become well-fought over.
Whenever you see "Unified" you're seeing something built out of smaller, usually city-related, parts.
https://www.strongtowns.org/journal/2020/4/27/this-is-the-en...