From some of the videos that show players lagging due to high ping and such, hits are calculated on the client and reported to the server.
Player A continues firing on Player B who has lagged out severely, Player A's HUD shows hits on the shield/hull, but damage it no updating.
Once Player B's connection becomes stable and hits are updated, boom.