I looked back and McMaster was one of the first politicians to endorse Trump. I believe he was Lt. Gov. from South Carolina at the time. Hes a smart guy and may have thought it the best way to get into a Trump administration.
That is a different McMaster. He took over as SC Governor when Haley got the UN gig.
Thanks for the correction. I mistakenly guessed the H stood for Henry.