Former Secretary of Defense Robert Gates is photographed at his home in Washington State prior to the release of his memoirs titled “Duty” on Jan. 7, 2014. (Scott Eklund/Red Box Pictures For The Washington Post)

Former defense secretary Robert M. Gates defended his criticism of President Obama’s handling of the Afghanistan war while the president is in office and troops are still fighting, saying he thought it important to be candid in his new memoir.

“I don’t think that waiting until 2017 to weigh in on these issues, and in a comprehensive and thoughtful way, made any sense,” he told CBS’s “Sunday Morning.”

In his book, titled “Duty,” Gates doesn’t take issue with Obama’s big policy decisions but accuses him of an “absence of passion” and an unwillingness to make it clear to the troops that their success was critical to U.S. national security. He also writes that Obama became convinced that his war strategy would fail within a few months of committing to it and seemed to have grave doubts about it from the outset.

“People gave me a lot of credit when I was in office of being blunt and candid about what I felt about things,” Gates said in the Sunday interview. “I could hardly be any less in writing a book.”

Excerpts from the 600-page-plus memoir, which goes on sale Tuesday, quickly become fodder for political debates. Both Republicans and Democrats worried that Gates’s critique of a sitting president and his administration would sew distrust within future administrations and chill internal debates.

Such concerns, however, didn’t stop lawmakers from using the book’s passages to score political points. On CBS’s “Face the Nation,” Sen. Marco Rubio (R-Fla.) said Sunday that the book showed that the president and his top aides had “the wrong convictions” or “lack the courage” of their convictions.

Sen. Benjamin L. Cardin (D-Md.) cited passages from the book, which critics have called either nuanced or contradictory, to defend the president. Gates gives “high praise to Obama,” Cardin said on NBC’s “Meet the Press.” He added, “Just about every major decision Obama made, Gates agreed with.”

Gates seemed nonplussed with Washington’s reaction to his memoir, suggesting that the controversy surrounding his book was a sign of the sad state of affairs in American politics.

“The way people are looking at the book reflects the polarization of our political process at this point,” he said in the “Sunday Morning” interview. “A lot of people, not everybody, is going to look at this book in terms of how does it advance my particular political agenda, or how does it damage my political agenda, and my objective was to stand back and try and provide a nonpartisan look at the kind of issues that have riven our country and riven our government for the last number of years.”