When you die because of being suffocated by entities (maxEntityCramming) the death message states "PLAYER suffocated in a wall", which is incorrect.
The player isn't in a wall, so it shouldn't mention it.
Linked issues
Comments 4
Relates to MC-107224: World Border death message states "suffocated in a wall".
/u/KnightMiner suggests "<Player> inhaled a <mob>" as the death message: https://www.reddit.com/r/Minecraft/comments/53nmpw/comment/d7utd4w?depth=1