Carrying Glocks or similar designs makes sense for the military for the same reasons that it makes sense for civilians. Glocks are light, they hold a lot of rounds, and they work. Whether you're on an assault team or going to the grocery store, saving weight where you can is attractive.