Players who team kill often do so for the reaction of the other players. The team will be at a disadvantage, and the team killer is usually scolded at by text chat, voice chat, or by being team killed themselves. Team killing takes away enjoyment of the game from the victims, and most game developers seek to minimize the impact of the practice. Some games will give other players the ability to kick an undesirable player, usually a team killer, from the game. Other times, games will avoid team killing by not allowing members of the same team to damage each other in the first place.
Some team killers will also take out a fellow comrade to prevent the opposing team from getting ahead. Such is the case with Call Of Duty 4, in which a player in Last Stand in a hardcore match will often ask a teammate to kill them so the enemy that downed them won't get the points.
Sometimes, team killing can be done accidentally. Usually players will be caught in an explosion of a grenade or rocket a teammate intended for an enemy. The victim may think the team kill was intentional, and will try to get the player booted, despite no intentional wrongdoing. The only way to defuse this situation is to communicate with the player about your true intention.
Team killing as Game Mechanic
In Team Fortress 2, friendly fire is turned off, yet many players attack teammates anyway. They are trying to find Spies, a class that can disguise themselves as members of the other team. A sign that a teammate is really a Spy is if they take damage from your or another teammates' attacks. The Pyro is the best at finding Spies. The flamethrower will ignite a disguised Spy, revealing him to the rest of the team.
In the Halo series, team kills are known as Betrayals, complete with an announcer noting the event. If a player in Matchmaking games causes multiple betrayals, his (or her) most recent victim is given the option to boot the player from the game. S/He can also choose to forgive the player if their betrayals were accidental. In some cases, the option to kick someone that betrayed you comes up after the first team kill, which has lead to a unique exploitation of the system; a griefer will goad other players into killing them by attacking them without killing them or by destroying the team's own vehicles. Once their trollish behavior actually leads a team member to kill them, the griefer then uses the betrayal system to boot the innocent victim.
For Uncharted 3, the option for removing a member of a team was included for all modes of play that supports teams. While friendly fire does remain off in competitive play for firearms, this doesn't include grenades or other explosive weapons. Although, later patches for the game would eventually render team mates immune to the Revenge booster's martyr grenades. Every player is notified of who they are killed by after each death, and team mates are easily differentiated by the green text in their player name. Upon being killed twice by the same individual, the player is prompted with the option to either "Boot" or Forgive", regardless if the deaths were on purpose or accidental. This also extends to the Co-Op modes of play, where friendly fire is active in the Hard and Crushing difficulties. While not shown anywhere on the in-game statistics, the number of team kills a player has committed is logged on their Sony Uncharted 3 online player profile.