According to the Terms of Service, the content posted by a user is CC-BY-SA 4.0 licensed. But CC-BY requires attribution. A deleted user's content is missing attribution since their username is replaced on all content.
I see that there's some ambiguous wording in the terms of service.
This means that you cannot revoke permission for Stack Overflow to publish, distribute, store and use such content and to allow others to have derivative rights to publish, distribute, store and use such content. The CC BY-SA 4.0 license terms are explained in further detail by Creative Commons, and the license terms applicable to content are explained in further detail here. You should be aware that all Public Content you contribute is available for public copy and redistribution, and all such Public Content must have appropriate attribution.
It seems to me, removing the username is effectively removing attribution and not honoring the license.
Similarly, a post that started by one person, but then gets converted to a community answer also seems against the license. The user's attribution is removed and replaced with "community".
Or maybe I'm misunderstanding and it's actually Stack Overflow that's supposed to get attribution, not the author of the question or answer?