I purchased the same cable as the OP - amazon.com/gp/product/B089CQNF38
I can verify it worked fine with my 2020 iPad Pro 11". As others have pointed out, This is a directional cable. One end has a molded icon of the remote, and that end needs to be plugged in to the remote side.