Try a different adapter. There’s some cheaper ones that don’t do data and some that do. Official Apple ones will do the trick. There’s even some amazon basics adapters that don't work with data. Lemme dog for the third party I use that works well. One sec.
edit: found it https://www.amazon.com/gp/product/B015Z7XE0A/ref=ppx_yo_dt_b_asin_title_o04_s00?ie=UTF8&psc=1
I've been using two of these with my MBP's since 2018 without issue. They seem slightly higher priced now than when I got mine though.