This is one of those subtle linguistic nuances that is likely to vary from language to language, and also to vary over time and location. It is also unlikely to be recorded in a dictionary or phrasebook.
In some cases, it's very clear what the difference is. Let's say I paint a target on the wall of a wooden barn, then I fire a gun at the target. Inside the barn, my bullet narrowly misses one person, and spooks a horse, which gallops out of the barn, knocking over a second person.
When the two people come running out of the barn:
- The person I narrowly missed can only correctly say "You almost killed me".
- The person who nearly got trampled can only correctly say "You almost got me killed!"
If they had died, then people would say I had killed the first, and had got the second one killed, or, that I had caused the death of the second.
They would not typically say I had caused the bullet to kill the first; nor that I had killed the second with the horse. Logically, both could be considered equally correct; but this is not a matter of logic, but of English usage.
So "X Y'ed Z" means that X is considered by the speaker to have performed the action of Y-ing Z.
And "X got Z Y'ed" means that the speaker considers that something or someone else did Y to Z, but X caused that to happen.
If my friend tells my boss I screwed up, and I lose my job because of it, then:
- My boss fired me. (X Y'd Z)
- My friend got me fired. (X got Z Y'd)
But in the less clear-cut, more ambiguous areas, there are often differences between:
- what we expect linguistically;
- what we know to be true logically; and
- what we know is true legally, in terms of liability.
So in this case, where I am driving dangerously, in English:
- If my car hits a pedestrian, I kill the pedestrian.
- For vehicle passengers (in my car and any I hit), the danger is taken as being something outside the car: the crash, or the thing we crashed into is treated as the thing that acts to kill them.
This is even though, logically speaking, it's the impact with the car that kills people in both cases, and legally speaking it's my actions that are responsible and liable for the deaths.
I'd be interested to learn about languages which make different assumptions.