Transformers and electric potential
In the first approximation**, the potential of the secondary winding is not referenced to the primary side ground.  Primary and secondary sides each have its own ground, which are floating with respect to each other.  This is why transformers are used for galvanic isolation (among other things).

** Without considering leakages, capacitive coupling, dielectric breakdown