Transformer question - eviltoast

In a transformer, why are both coils apart from each other? Wouldn’t make more sense to have the ferrite core (tube shape), wind the primary coil around that and then wind the secondary coil on top of the primary? So that the magnetic fields are as close to each other as possible?