How do military operations like Operation Sindoor shape the ethical standards of armed forces in fighting terrorism?

Operation Sindoor has been praised for its success and humanity in combating terrorism. I want to understand how such operations influence the values and ethical responsibilities of defence personnel.