Can a company terminate your employment over being friends with someone who was previoisly fired?

I used to be employed at a company who terminated me because I was applying at other companies. I hired a good friend of mine at that company and the

I used to be employed at a company who terminated me because I was applying at other companies. I hired a good friend of mine at that company and they let her go because she knew me. Is that even legal?

or:I used to be employed at a company who terminated me because I was applying at other companies. I hired a good friend of mine at that company and they let her go because she knew me. Is that even legal?

Tags:mine,over,good,