In SMP, with a scoreboard objective set to monitor totalKillCount, if two players attack the same mob, the point for the kill sometimes goes to the wrong player. The point should go to the player who actually got the killing strike (as totalKillCount implies), but sometimes the other player gets the credit.
It goes to whomever did the most damage, not the killing strike.