Last year I built an AM5 PC with x670e board and installed 2x gen4 ssds and 1 gen3 from different OEMs.
Today I installed another gen4 and ran benchmark on all drives. To my surprise all the old ssds read speed is down by 30-60% from last result, write speed is similar to specs. I am unable to figure out what is wrong with them all drives are showing 98-99% of spare.
Look up your owners manual and go to the section on the pcie/m.2 configuration. See what slots run at what speeds, and use what pcie lanes.
Your CPU has X pcie lanes and you're able to use all of them. Your chipset also has X pcie lanes, but some are used for the USB ports, some for sata ports, etc. If you put the SSD into a slot that's already maxed out on pcie lanes then it's probably going to drop the lane count of multiple things down (the process isn't super smart).
My desktop has the two x16 slots connected directly to the CPU, and 2 of the M.2 slots are connected to the CPU. If I install just my GPU and just my main SSD I run at full speed, but if I add a second M.2 SSD my GPU drops to x8 speeds. I think there's a 3rd slot hidden away that's on the chipset.
My motherboard has two M.2 slots, but they share a PCIE gen3 lane.
If I put SSDs in both, and they are both NVME, (I could put a sata SSD in one of them) they both drop down to gen2 speeds as the lane gets bifurcated in order for both slots to work at the same time.
In my case, my mother board manual actually DOESN'T mention this, so I had to find out the hard way when I plonked in a second drive. I did check when I bought the mobo because I knew this is common, but oh well.