The flight data recorder and cockpit voice recorder, known as the black boxes, may offer clues about what went wrong before the crash.