Incorrectly regarded as goofs
But Starfleet knew that Reliant was close to Regula I and working closely with the science station. Starfleet should have tried to contact Reliant first. And when Reliant failed to respond, Starfleet should have warned Kirk.
Instead, Kirk is surprised by Reliant's presence near Regula I.