In this video, I can see that confounding variable is a variable that is correlated with two other variables:
But this image tells that confounding variables is causally related to other two variables:
So is confounding variable defined as something that is correlated or causally related?