In an essay that was adapted from his forthcoming book, a portion of which was published in The Wall Street Journal, Former Defense Secretary James Mattis said he stepped down when he thought his advice was no longer valid in President Trump's eyes.