Again, you're mixing professional teams and national teams.
National teams are a funsie side gig that the professional teams would destroy if they could get away with it. Because it's just a side gig to stir up patriotic good feelings in the countries (well maybe not this year because some Americans apparently learned for the first time that sometimes athletes have different political views than them), they ought to be paid the same because they're out there doing the same job, representing America on the World Stage.
Isn't that another reason that would explain why men are paid more. Even if the men and women's team bring in the same net revenue excluding player costs, then the men would presumably get more b/c they have a lucrative profession that they are putting at risk, while the women's players mostly do not.