Correlation is not causation.
In other words: the side effect of making more money is that you have more money to spend on your children’s education.