Hi @jhf
Welcome to Level1Tech!
Check out A Neverending Story: PCIe 3.0/4.0/5.0 Bifurcation, Adapters, Switches, HBAs, Cables, NVMe Backplanes, Risers & Extensions - The Good, the Bad & the Ugly for a very long painful story about connecting drives.
In your situation I’d try to force the PCIe slot to Gen3 speeds in the UEFI/BIOS.