The goals affect the way we evaluate courses of action, and the evaluation can help us learn to set better goals. The goals determine how we assess the situation, and the things we learn about the situation change the nature of the goals.
We build.a mental model of the situation and that mental model affects our sensibilities. I.e. if we explicitly work to reduce cycle time, then people become more conscious of how different aspects of their work affect cycle time and where everage points could lie.