Answer: confounding variable
Explanation:
A confounding variable is an overlooked variable that has an impact on the dependent variable. It´s an extra independent variable that has a hidden effect on the dependent variable, causing an increase in variance and introducing bias.
In this case, the psychologist didn´t consider the effect gender had on the results, which lowered the internal validity of the study.