The microscopic origin of ultrafast modification of the ratio between the symmetric (J) and antisymmetric (D) exchange interaction in antiferromagnetic iron oxides is revealed, using femtosecond laser excitation as a pump and terahertz emission spectroscopy as a probe. By tuning the photon energy of the laser pump pulse we show that the effect of light on the D/J ratio in two archetypical iron oxides FeBO3 and ErFeO3 is maximized when the photon energy is in resonance with a spin and parity forbidden d-d transition between the crystal-field split states of Fe3+ ions. The experimental findings are supported by a multielectron model, which accounts for the resonant absorption of photons by Fe3+ ions. Our results reveal the importance of the p...