Core'22, p174:
DOGFIGHTING AND DISTANT ENEMIES
Under normal circumstances, spacecraft involved in dogfights cannot take actions against those at further ranges as their crew are far too focused on more immediate dangers much closer. By the same token, spacecraft outside of a dogfight cannot attack within for fear of hitting a friendly ship (if they do not overly care about that, the referee is welcome to randomise targets).
A dogfight will normally be over long before spacecraft outside it are able to act, as dogfights use six second rounds while space combat usually uses six minute rounds, so resolve the dogfight fully before moving back to space combat rounds.