ATF’s responsibilities need to be checked against Congress’s constitutional Article I, Section 8-limited powers. I suspect that ATF does things that cannot be justified under Section 8.
ATF is an agency of the executive branch thru the US Treasury. Secret Service is Treasury also.