However why must the two circuits tuned to the same resonance
frequency? Also, how is Q factor related to the whole set up?
The transmitted signal carries some information, which is conveyed by modulating the carrier, which leads to the expansion of the bandwidth of the transmitted signal. For simplicity, we can assume that the expansion is symmetric, so that the carrier frequency is in the middle of the transmitted bandwidth.
In order to receive this information, the bandwidth of the receiver has to be at least as wide as the bandwidth of the transmitted signal, but not much wider, so that the stations transmitting at neighboring frequencies are not picked up as well.
Under these constraints and taking into account symmetry, mentioned earlier, for the best reception (maximum overlap), the resonant frequency of the receiver has to be aligned with the carrier frequency of the transmitter.
The Q factor of the receiver is important because it defines the receiver's bandwidth.