It was an F16 (e.g. military, not civilian).
And if the pilot is simulating instrument conditions, there is a rule: FAR 91.109 "No person may operate a civil aircraft in simulated instrument flight unless - The other control seat is occupied by a safety pilot who possesses at least a private pilot certificate with category and class ratings appropriate to the aircraft being flown".
If not simulating IMC, it's the pilot's responsibility to see and avoid per 91.113(b)