Not sure how old the author is and how many children she has (and particularly if they are girls) but I think JKR is going through a phase very much related to her age (not teenage years).
On these boards they are lots of women who have lots of expertise on life and child rearing. Once your children are a bit older, you have more time for reflection and see how you can help others and prevent the more horrible bits of being a woman, for all women and children.
For instance, my first ‘exposed penis’ was a man, dressed in a baby doll style nightie and make-up, masturbating by the ladies toilet. He was doing this to me and every other girl dressed in school uniform walking home through the park. I was about 12 or 13. We all avoided going through the park. But I only realised how much this registered when my daughter was that age and I was telling her to be careful through the park.
Teenage me ran away, didn’t say anything and avoided the situation. Middle aged me would be telling him off and reporting him. I think JKR is very much a woman of her age.