If you have just left a faction, they also send people out after you on occasion. It could be just a case of bad luck, and you've had two incidents bang after each other. My bet is that you attacked the local factions vessel who was legitimately attacking you.