Civil liberties of service members are limited, not only in that regard. I don't know everything, but I do know that they're not allowed to join in protests. This includes protesting anything, not only protesting against the government or military.