the fact is many girls just don’t like STEM
Of course some girls don't like STEM subjects, just as some boys don't. But for many girls, it's not really an active decision.
A couple of years ago there was a programme on the BBC, where they gave a group of late-teenage girls/women a two-week internship in IT (might have been longer than two weeks.) They were introduced to things like designing and writing mobile phone apps.
The thing that really struck me was that until they were given this opportunity, careers in tech simply hadn't been something they'd considered. It just wasn't even on their radar.
I'm fine with girls (and boys) who have actively decided not to persuade a career in STEM. We still need linguists, artists, historians, carers, shop assistants, caterers and so on. But it should be a deliberate choice, not just drifting into a job you have head about, and completely ignoring the ones which you're completely unaware of.
And that comes back to funding for careers advice, casual depictions of these careers in every day life and entertainment, and schools outreach activities, particularly for those groups who just don't seem to have much awareness.
(My first degree is history - I am in a very technical role, but on a faily basis, I reckon I use my history degree at least as much as my comp.sci degree, if not more, particularly the analytical skills, research skills and ability to write.)