While Article 2 suggests that both Mattis and I are subject to the UCMJ, retirees generally get away with a lot of free speech such as that. Now the sainted bastard Vindman should be brought up on charges immediately.
My father was WWII vet, he was very aware of his duties until the day he died 30 years after retirement.