So, the primary issue with the question is the nature of sex vs gender. Sex is biological. Gender is cultural. It is what I refer to as an "eidos:" Preprint From Gender and Race to Eidos: A broader term for culturally...
How genders are expressed vary considerably from country to country and era to era. You ask about changes in gender differences. Sex differences affect gender differences, but they are not the same. The importance of sexual dimorphism in a culture has a large impact on gender. Technological advances, for instance, seem to be reducing the significance of sexual dimorphism, and therefore are having a major dampening effect on gender divisions in modern society.
It might be important to have a closer look at the individual research studies because it depends on how the researcher has used the terms. If they asked or have characterised their clients by sex and gender.
In German-speaking countries, it might be even more different because there is one German word for both. But in the German medical research, they mostly revere to sex otherwise scientists specify the question for gender.
All in all, it is important to question the use of sex or gender as a category tool, it even could lead to slightly different results.
I'm going to add a caveat to my initial answer: in countries where there's significant gender discrimination, we could see some major impacts on health outcomes by gender. This paper may have something of interest for you, though it is a bit old. Article Clinical epidemiology of Alzheimer’s disease: assessing sex ...
According to the Publication Manual of the American Psychological Association, "Gender is cultural and is the term to use when referring to women and men as social groups. Sex is biological; use it when the biological distinction is predominant." And according to the World Health Organization, "Sex refers to the biological and physiological characteristics that define men and women. Gender refers to the socially constructed roles, behaviours, activities, and attributes that a given society considers appropriate for men and women."