Edit 1: I should clarify a bit. Let me be more explicit: Is there a unified explanation (mathematical ... or perhaps not) for why various algebraic (where "algebraic" is loosely defined) objects should have naturally associated topological spaces? Pete in the comments notes that he does not like the use of the word "coincidence" here --- but if these things are not coincidences, then what's the explanation?
However, when you start with algebraic objects and then get topological spaces out of them --- I find that surprising somehow because a priori there is not necessarily anything "geometric" or "topological" or "shape-y" or "neighborhood-y" going on.
Edit 2: Somebody has voted to close, saying this is "not a real question". I apologize for my imprecision and vagueness, but I still think this is a real question, for which real (mathematical) answers can conceivably exist.
For example, I'm hoping that maybe there is a theorem along the lines of something like:
Given an algebraic object A satisfying blah, define Spec(A) to be the set of blah-blahs of A such that blah-blah-blah. There is a natural topology on Spec(A), defined by [something]. When A is a commutative ring, this agrees with the Zariski topology on the prime spectrum. When A is a commutative C^* algebra, this agrees with the [is there a name?] topology on the Gelfand spectrum. When A is a Boolean algebra... When A is a commutative Banach ring... etc.
Of course, such a theorem, if such a theorem exists at all, would also need a definition of 'algebraic object'.

