Yes this is the classical correlation vs causation situation.