JAL was flying/landing, so this was a “midair”.
Quote from an NHK news report:
"The Japan Coast Guard says the JAL plane collided with one of its aircraft immediately after landing at around 6 P.M. on Tuesday."
"Immediately after landing" doesn't suggest a midair collision to me.