She might have mixed up people in real life,
not "he" and "she" as words. Something like "She did it. No, he did it. Sorry, I can't remember."
It is just beyond my imagination that a native speaker could mix up these two words. Maybe one in a million? If that is case, then you are lucky. Buy lottery now!