I would believe that both of those aircraft would have ADS-B which would have informed each other as well as ATC that they were on a collision course.
That’s true to a point. I landed daily with that and collision avoidance systems on board blaring about aircraft on the ground or taking off from another runway. You had to keep your ears and eyes open but that still wasn’t a guarantee.
So one plane was taking off against the wind while ons was landing with the wind? A designated runway wasn’t in effect? A breakdown somewhere.
Ads-b doesn’t work that low.