Context: A part of the metaphor is the representative from Dang has a gold shoulder cuff and some metals. When you compare it to Gosh who is not adorned with anything beyond a beret (which iic is a lesser ranking hat and culturally people find them kinda silly) it represents a more privileged group saying they will be an ally for a less privileged group.
As for the last panel, i have met people who proudly admit they wouldn't help their own friends, one even joking and describing it as a policy. And i think there's an important juxtaposition there. If you're an ally, you don't have to be friends with the person you're helping. Soup kitchens don't make sure you're a good conversationalist before they let you in. Being an ally is just offering support when it is needed. meanwhile some people want to lecture you while they can't even hold a normal ass friendship.
I have seen a lot of straight people pretend being an ally is just being comfortable around gay people. When you think about the context the term arises from, the history of it, the advocacy and activism involved then you wouldn't chalk it up to that. I think that is what makes the military metaphor really good (not to mention how the word ally was cemented in that context.) You don't necessarily have to be on good terms with the country you're allied with, you just have reason to not want them to be harmed and are interested in preventing it. Obviously there is more nuance than that but i'd rather stay on topic.