Parallel
1 Chronicles 11:7
King James Version (1769 Blayney revision, with Apocrypha) · Berean Standard Bible
And David dwelt in the castle; therefore they called it the city of David (note: That is, Zion).
So David took up residence in the fortress; that is why it was called the City of David.