Cause and effect

You spend half the game beating the AI with good gunnery and ships tanked with armor

The AI than strike back with full on torpedo banzai charges (which horrfyingly worked).

Worse off it happened when I was replacing the entire fleet with new modern ships to which I made light because I doubted the AI had anything heavier than me.