I've met more sociopath types in IT than I ever ran into in the military. The military tends to get a bad rap in civilian circles, particularly the Marines, because they attract alpha males. It takes a certain mindset and ability to deal with vast amounts of mind games and BS to serve in the Marines, but to outsiders, this makes no sense. The near-24-hour chaos provided in training and in garrison teaches people to deal with chaos while making decisions that affect the lives of teammates. The yelling, hazing, banter, and heavy physicality teach you that in your chosen profession, there is no rose garden. As George Orwell wrote: "People sleep peaceably in their beds at night only because rough men stand ready to do violence on their behalf."
Bullying should be purged, near-harmless hazing, no. It teaches rite of passage, that membership is achieved and earned, not given. I don't want to work with beta males. They get people killed. Indecisiveness in combat gets people killed. When you're in combat, you're not giving a shit about the US or any other place. You're not fighting for that. You care only about the guys to your right and left. You live or die as a team.
Morals always put the other person first. Love of family or teammates is not an emotion, but an act of the will. Love is not an emotion, it's an act of the will. You will the good of the other for other, with their best intentions in mind, even if it costs you your life.
As Jesus said, "Greater love hath no man than this, that a man lay down his life for his friends."
Morals have more to do with how you treat non-members and beta males and competitors.
Not sure what all that has to do with combat. Ultimately, people in IT are not in combat. Our moral questions are about which projects to work on and whether overly optimistic estimate counts as lie. Should I fight my manger to be unethical and where is the line? How much tracking is ok and am I going to develop software that breaks the law?
Besides morality, knowledge of impact of this or that o world around matters. That is diferrent then morality and you can't derive it only from own experience.
Lastly, there are plenty of near psychopaths and assholes in the army including marines. And it is not like various units did not had problems with bullying harassment and what on. Or if ships did not hit other ships recently because of chain or errors quite a few of them in ethical category.