Here's an example: look up the historical gender breakdown of computer programmers. Hint: once upon a time there wasn't a "pipeline problem" to use as an excuse, and for-profit free-market competitors were doing just fine with a very different gender ratio than they have now.
It is unlikely that, in the (short -- less than a generation to transform the industry) period in question, women magically became unqualified to work as programmers. Especially since many of them already had worked as programmers and nobody had found reason to complain about their work.
Or, more bluntly: the sudden disappearance from a field of an entire category of people, whose only distinguishing characteristic is being of a gender historically denied economic opportunities, is unlikely to be explained by a similarly sudden catastrophic decline in their qualifications. The continuing absence of people of that category is equally unlikely to be explained by their lack of qualifications.
Here's another example: take a look at what happens to other fields when they introduce effective blind interviewing (in which interviewers cannot discover the gender/race of the candidate prior to making a hire/no-hire decision). It once again does not suggest that previous processes were anything approaching meritocratic.