Ah, I think I see where you're confused. You're probably conflating the M.2 form factor with NVMe[0], which is sorta incorrect. NVMe drives can come in a variety of physical interfaces, of which, M.2 is one, but M.2 drives can be either SATA or NVMe. (or USB?)[1]
[0] https://en.wikipedia.org/wiki/NVM_Express
[1] https://en.wikipedia.org/wiki/M.2