when you hold any item it'll go in blocks for more explanation when holding any item for example a mace (it happens with most items not just the mace) when you hold it if you stood too close to a placed block the mace will go into the block depending on your camera angle and this only happens in first person perspective
Thank you for helping us improve Minecraft! We saved your files: