  The XENON1T collaboration has observed an excess in electronic recoil events
below $5~\mathrm{keV}$ over the known background, which could originate from
beyond-the-Standard-Model physics. The solar axion is a well-motivated model
that has been proposed to explain the excess, though it has tension with
astrophysical observations. The axions traveled from the Sun can be absorbed by
the electrons in the xenon atoms via the axion-electron coupling. Meanwhile,
they can also scatter with the atoms through the inverse Primakoff process via
the axion-photon coupling, which emits a photon and mimics the electronic
recoil signals. We found that the latter process cannot be neglected. After
including the $\rm{keV}$ photon produced via inverse Primakoff in the
detection, the tension with the astrophysical constraints can be significantly
reduced. We also explore scenarios involving additional new physics to further
alleviate the tension with the astrophysical bounds.
