You say...
”Captain Marvel takes places in 1995, two years after the ban on women combat fighters was lifted and the first female combat pilot Martha McSally (R-Ariz.) flew a mission in ’95"
You evidently failed to notice that she was flying 6 years before her return to earth in 1995, and the part of the movie you are…