Exploration of the origin of the 2020 X-ray outburst in OJ 287