Collision alarms in the cockpits of both Boeing 737 aircraft went off, warning that they were too close together