"Cross-examine" is a verb. As with all words that have a prefix "cross," the word is hyphenated. The noun that comes from it is also hyphenated. There is no verb "direct examine"; therefore, there is no hyphen in "direct examination.
Happy punctuating!
Margie