We investigated an emerging magnetic loop dynamically formed on the Sun, which has the effective footpoint heating source that may play a key role in heating a solar atmosphere with free magnetic energy in it. It is suggested that the heating source could be related to local compression of a plasma in the emerging loop by means of Lorentz force, which converts the magnetic energy to the internal energy of the plasma that is used to reaccelerate a decelerated downflow along the loop, eventually generating the source when the kinetic energy of the downflow is thermalized. By analyzing very high-cadense data obtained from a magnetohydrodynamic simulation, we demonstrate how the local compression is activated to trigger the generation of the heating source. This reveals a characteristic of the emerging loop that experiences a dynamic loop-loop interaction, which causes the local compression and makes the plasma gain the internal energy converted from the magnetic energy in the atmosphere. What determines the characteristic that could distinguish an illuminated emerging loop from a nonilluminated one is discussed.