Unexpected formatting in triple-tick code blocks

But why would formatting ever be applied in a code block?