First off, as others have said, this is a solution to a problem that really shouldn't have existed in the first place. The electronics in it must be made of very high resistance material as it gets very hot and that is probably why it failed. Most likely hot enough to melt some of the cheap plastic inside and the springs that keep the pins extended and spring loaded have failed. As you can see in the picture 2 of the 5 pins are recessed and will not come out. What makes the connection is temporary and I have to constantly move it to make contact again. Apple-branded hardware keeps getting worse, as much as I hate liking hardware.
Cable Baseus Cafule USB - Lightning, 1 m, black/red
26 Review
4K / 30Hz USB-C to HDMI Adapter - 3-in-1 Type-C Converter Cable for MacBook Pro, MacBook, Mac Pro, iMac, Chromebook, and USB 3.0 Type-C Devices (2017/2018)
13 Review
Cable Matters USB C to HDMI Adapter - 4K 60Hz, 60W Charging, Thunderbolt 4 Compatible for MacBook Pro, iPad Pro
12 Review
Ultimate Compatibility: USB C to HDMI Adapter for MacBook, iPad, Dell, Surface & More
12 Review