Consider two (covering) flat morphisms: $$f: \operatorname{Spec} \mathbb{R}[y] \to \operatorname{Spec} \mathbb{R}[x], y^2=x$$ and $$g: \operatorname{Spec} \mathbb{Z}[i] \to \operatorname{Spec} \mathbb{Z}.$$
$f$ is ramified at $(x)$. The fiber over the point $(x-a)$ for $a>0$ has two points $(y\pm\sqrt{a})$, and the fiber over the point $(x-a)$ for $a<0$ has one point $(y^2-a)$ of degree $2$. The two patterns can be described by archimedean topology.
$g$ is ramified at $(2)$. The fiber over the point $(p)$ for $1\pmod4$ has two points $(a\pm bi)$, and the fiber over the point $(p)$ for $3\pmod4$ has one point $(p)$ of degree $2$. The two patterns can be described by 2-adic topology.
It seems that there is a good analogy between them but I can't find appropriate language to describe it.
EDIT: I found a related post. For the morphism $f$, the fiber can be varied continuously in each area $a>0$ and $a<0$, which can explain the number of the points of the fiber is constant in each area (2 and 1 respectively).
My most curious point is that: Is there some analogous interpretation for the morphism $g$?