This happens with armor piercing shells hitting tanks or other armored vehicles, too. And even if they don't penetrate, they can still generate spall from the inside of the armor that's still deadly. (This was at least true with ~WW2 tanks, modern armor is more advanced.)
Solid shot goes through the ship, perhaps injuring anyone in the way. Solid shot hitting the structure of the ship on its way through creates massive, dangerous splinters.
https://youtu.be/lIDu7NPLbwc
https://youtu.be/6jRhEiibhCc
https://youtu.be/dGd5HLl3GwE
https://youtu.be/EpNS0JpnUNY
https://youtu.be/9XMOrbOW9DM
https://kurage.files.wordpress.com/2018/03/hocker-isbsa-14-p...