So its pretty simple, so some ships get damage some doesnt when you shoot them with Railguns / Lightning turrets.
It seems to be a desync issue, since when you push the effected ship around it get damaged.
The following Video is to describe the issue better: