Why is the Apollo 10 record speed considered a consequence rather than the goal of the mission?

Answer

The goal was a safe landing achieved via the most efficient physical path

The record speed was not the primary objective; rather, it was the resulting speed achieved by executing the precise, safest, and fastest trajectory designed for a direct return and safe splashdown.

Why is the Apollo 10 record speed considered a consequence rather than the goal of the mission?
speedfastestspacecraftmissionApollo