For the program, there ain't no such things as rams. There are just collisions, and kill crediting is and always has been completely independent from this.
If someone dies from a collision, the kill credit for him goes to the player that did most damage to him (by guns, rockets, bombs). If he was not damaged by any enemy weapons, it's a proxy for the closest enemy player at the moment of death (if inside proxy kill range)