Both pilots were rescued after ejecting safely from their F/A-18 fighter aircraft.