The process by which a state seeks to justify military actions through moral or ideological frameworks.