Inside
古 supplies the sound - gǔ drifting to gù through tone shift. Helpfully,
古 means 'old, ancient' - so
固 reads as 'enclosed and old,' i.e. firmly established by time. The phonetic doubles as a semantic clue for the 'firm, solid, sure, established' meanings. Sealed walls plus age give a picture of unshakeable stability.