Presumably because police usually only have jurisdiction within their employer’s city limits, and sheriffs’ employees only have jurisdiction within their counties, so if mass transit moves between multiple jurisdictions, then their police can have jurisdiction wherever the mass transit goes (even across state lines, because a lot of metropolitan regions served by the same mass transit system span two or more states).