Comment by i80and
4 hours ago
I found USB-C to be pretty unreliable up until the past several years -- I had multiple phones and laptops from multiple brands <=2020 that just had USB-C ports turn fiddly or outright stop working after a year or two.
Things are better now in my experience, but for a device made in 2019, this is pretty darn plausible.
I have this with my phone, but it's because of dust. Did you try cleaning the port?