Not written anywhere. It's just more logic and the way language works more than anything else. What does flux do? Clean the metal and help the solder flow. Why do you use it? Improve electrical contact and mechanical strength. As far as I'm concerned, both are correct when you tack them onto the end of "Flux is designed to _________________". The only difference is one is the objective and one is mechanism to accomplish that objective.
Just like saying a 747 is designed to fly vs a 747 is designed to transport people. The former is the mechanism/method and the latter is the ultimate objective. Neither is wrong. One is just more technical.