My thoughts exactly. I think it’s less that more years of education causes child marriages to fall, and more that changing the environment that these kids are raised in leads to more education and to fewer child marriages.
You might think “why does it matter?”, but if you’ve drawn the wrong lesson, you’re setting up millions of dollars in failed investments in just building schools and sending teachers into them, which won’t have the affect you expect, and that will fail to improve the lives you thought you would improve.