TCAS

Why didn’t TCAS alert the pilots of the CRJ or the Military helicopter? As far as I know they are required to have it installed if they the aircraft are being used for commercial use