Oh, either way, same principle, there isn’t a physical wire connection between your mic and the rest of the headphones, in the first pic you can see where the wire broke inside the ear cup.
In a sense it’s like sticking a key in a lock and expecting the door to unlock without having turned the key.
To fix it you’d need to open the ear cup, get a length of wire, solder one end to the ear cup side and the other to the mic side. This is most likely to go horribly wrong so I wouldn’t advise it.