WiFi works in a randomizing environment. Signals from other computers, from other devices which use the same frequencies, and radio frequency noise all interfere with the signals. Therefore, data often has to be repeated because of collisions of signals.
Also, radio waves bounce off objects in the environment, and when some signals bounce and others don't, the received signal has to be cleaned up in the PC or router; sorting out the signal from the noise, and sorting out the signal from the echoes, takes time, which also reduces throughput.
By comparison, NVMe is on a copper bus designed to reject interference, uses dedicated lanes so there's no need to slow down to detect collisions, much less repeat data when there's a collision, and it has much greater bandwidth on that signal bus, so it can move data much faster.