Schwartz was appointed by Bush in 2008. He said his orders came from the Pentagon but that he doesnt know who made the decision.
From the article: Unlike in states, where the governor appoints the National Guard commander, in the District that duty falls to the president.
This is clearly an act of sabotage by Obama. Trump can reappoint him immediately.