What happened to me upwards of a dozen times during the recent Zaonce CG over the course of the 3 days I ran it.
1) I was farming the same RES the entire event. Eventually the local pirate faction became hostile. Local general factions and constabulary were either already Allied or became so. Expected behaviour.
2) Hostile wings would then appear regularly, 4, 5 or more. Often Eagles and Sidewinders, now and then a Clipper, Python or Anaconda included. If I wandering into range, they attacked. Expected behaviour.
3) Hostile wing attacks me. I fight back, usually using my Kill Warrant first. The local Allies pitched in with me. Expected behaviour.
4) Occasionally during fur ball, after killing a few hostiles (5 or so red and 5 or so 5 green on the radar, even more neutral) one of the Red hostile wing may not have landed a hit on me, and in full berserker mode I put a beam on it. Ding! My bad, need to pay attention. Expected behaviour.
5) Suddenly all local constabulary stop attacking local pirates with up to 250000 credit bounties on then, and my so called Allies join the pirates in attacking me with my 100 credit bounty for singeing a pirates shield. Unexpected behaviour.
One minute you're on top of the situation, 3-4 Reds, next minute you'd have 7-8 Reds, often including Pythons and Anacondas all in range and pounding you. Then I'd be running fast popping SCBs like tic tacs, while swearing at the lovely people at FD
I think this mechanic needs some tweaking personally. Allies trying to murder you for accidentally clipping the same enemy that they only seconds ago were themselves attempting to murder. Does not compute. A fine, yes, summary execution, no.