So why would she attack the FBI? Perhaps because she wanted to divert the investigation from whoever was responsible?
Kennedy and Hoover hated each other. I believe the relations between Hoover and LBJ were good.
Hoover was obsessed with civil rights groups. He saw Kennedy as their ally. The CIA wanted Vietnam and Cuba, and LBJ wanted the presidency. A perfect storm.