The connector isn’t standard
From 2013 onwards, Apple dropped SATA for a PCIe-format SSD… but with a proprietary connector (12+16 pins) that has nothing to do with the M.2 format of off-the-shelf NVMe drives. Hence the need for an adapter (such as a Sintech NGFF-to-Apple): it bridges the M.2 stick to the logic board, both mechanically and electrically. Without one, the stick won’t even fit.
Easy to solve: an adapter is all it takes — this is the lesser of the two obstacles.