It might indeed be that there are simply more and better options for women now, over software coding.
I’m not sure I believe that is the reason there are fewer now, and here, but it probably contributes.
Agreed. But STEM as a whole is a different thing, this article focuses on software coding - computer programming - specifically. Because lots of women used to do it and now far fewer do (as a % of majors and jobs vs men).