You can read all about the threat resolution logic in section 3.10.8 of ICAO 9863.
An aside:
> 3.10.1.1 The ACAS algorithms operate in a cycle repeated nominally once per second. At the beginning of the cycle, surveillance reports are used to update the tracks of all intruders and to initiate new tracks as required. Each intruder is then represented by a current estimate of its range, range rate, altitude, altitude rate, and perhaps, its bearing. Own aircraft altitude and altitude rate estimates are also updated.
Words that should probably never appear in technical specifications: "perhaps".
https://en.wikipedia.org/wiki/Traffic_collision_avoidance_sy...
I am unsure what it would have told them to do in the RA case though.
https://en.wikipedia.org/wiki/Traffic_collision_avoidance_sy...
Edit: never mind the last bit, RAs actually get completely suppressed if GPWS does its thing, TAs still go through.