I'm on the latest Beta of Ventura. But I don't know it's a general feature of MacOS.
I haven't seen this behaviour before.
I changed the name of the Mac in System Settings > General > About
from Mac Mini M1 to Mini
and since then I have a new icon on the desktop (red square)
I did not find...