In an ideal transformer, the mutual induction caused by the secondary load current in the primary coil generates an additional current that has a non-zero power factor with the main AC voltage source. That's the mathematical explanation of the power transfer from the main AC source to the primary and then to the secondary load resistance. But what is the physical intuitive explanation?
For example If I replace the AC voltage source with a capacitor to make the primary an LC oscillatory circuit, even if the power factor be still there, how is energy being lost to the secondary without a resistance in the primary?