Most people are missing an additional aspect of what is going on.
This is a continuation of a decades-long turf war. The CIA wants an expanded domestic spying role. The FBI wants an expanded off-shore law enforcement and surveillance role. Both with a larger budget to match their new powers, preferably coming from the other.