I just finished a game that left me really confused.

http://steamcommunity.com/profiles/7...65366716709960

I got shot down by someone that was green-labeled. I thought that meant my squad-mate had killed me, then found out he was enemy when I wanted to complain. Why was an enemy green???