macOS evaluates active network interfaces according to the service order configured in Network preferences, and by default a connected Ethernet interface is placed ahead of Wi-Fi in that order. When both Ethernet and Wi-Fi are simultaneously active and configured, the Mac routes traffic over the wired Ethernet connection in preference to Wi-Fi.
Community Discussion