The term ‘explanatory variable‘ is sometimes preferred over ‘independent variable‘ because, in real-world contexts, independent variables are often influenced by other variables. This means they aren’t totally independent.
Multiple independent variables may also be correlated with each other, so ‘explanatory variables’ is a more appropriate term.