M2 is not an interface in itself, I believe M2 supports a bunch of interfaces like PCIe, Sata etc.
When you connect an M2 drive on the motherboard slot, the connection is physically routed the the relevant interface (depending on pinout)
M2 drives can be designed to utilize the Sata interface OR the PCIe lanes.
Newer motherboards support both Sata and PCIe (NVMe) storage on the M2 slot.
Now you see since, M2 is not exactly an interface, it will use either the sata or PCIe bus - hence limiting said bus in it's native operations / bandwidth.
What your motherboard is trying to say is "Hey man I have X number of sata ports and 1 M2 slot but only enough channel bandwidth to run the X number of sata ports, therefore if you want to use...