The most logical explanation wins
The turret got the headshot but i wonder how u didnt get a headshot with the vandal
You missed with your vandal but your turret headshot at the same time so it looks like that.
if you press scroll wheel and hover the damage it will tell you the sources of dmg :) in this case
still weird tho