Would such a technicality matter at all in such a poisonous partisan atmosphere?
Legally yes - one is 1st amendment free speech the second would would be taking advantage of government position.
Firing him under the 1st gives him legal recourse the latter I would assume his employment contract would forbid it and give grounds to terminate.