*maybe he simply followed his sincerely held religious beliefs.*
We all have sincere beliefs. Not all of them religious.
But “sincerely held religious beliefs” is the touchstone for religious exceptions in the military. That’s the point. Sanders honored his beliefs as his State Guard superior. His federal superiors did not, to their shame.