Capitol Police are under the authority of Congress, just as Supreme Court Police protect Justices and staff and Secret Service protects the Executive Branch. They all have jurisdiction anywhere on US controlled territory their protectees are.
It’s called separation of powers.
Many thanks for your time to educate me on this. Cheers!
+1 Informative