Actually he's taking a swipe at him, not her. The last I heard, one can change their name, but they can't change their gender. Besides, why should it be the responsibility of the military to provide sex change operations?
Still the comment by the wounded soldier is funny. That was his intent.