War weariness is disproportionately allocated to cities that you previously conquered. Even if that city is ceded to you in an earlier peace treaty (so it is no longer "occupied"), the idea is that the citizens of that conquered city aren't really "your people" -- and therefore may become more discontent and rebellious than citizens in your "core" cities (i.e., cities that you founded).