Docker Desktop on Windows uses WSL to provide the Docker daemon, doesn't it? So Docker Desktop has a history of leaning into OS offerings for virtualizing Linux like this where they can.
Docker desktop on macos uses the Apple virtualization framework to run a Linux VM these days.