In the framework of a multi-phase transport model, initial fluctuations in the transverse parton density lead to all orders of harmonic flows. Hadron-triggered azimuthal correlations include all contributions from harmonic flows, hot spots, and jet-medium excitations, which are isolated by using different initial conditions. We found that different physical components dominate different pseudorapidity ranges of dihadron correlations. Because γ-triggered azimuthal correlations can only be caused by jet-medium interactions, a comparative study of hadron- and γ -triggered azimuthal correlations can reveal more dynamics about jet-medium interactions.