Why was Dunkerque's armour no match for Hood's guns?
Short answer
It was not designed to fight Hood.
Notes
Dunkerque was not designed to fight Hood. Its protection reflected a different intended opponent, so the mismatch with Hood's guns does not explain the design's original purpose.