When there are two routes to the internet and the priority numbers Windows gives them (the interface metric) are equal, it picks either route for each connection, so when one side is unstable some sites work and others don't. Turn off the connection you don't use, or set the Wi-Fi or tethering metric higher than the wired one (e.g. 100) so wired always goes first, and it settles down.
If you can't tell which route goes first, PC Buster shows the priority number of each connection and tells you when they are the same (diagnosis free). Get PC Buster · details
Our own PC had this exact symptom with an Ethernet cable to the router and phone USB tethering connected at the same time. Neither side was broken; Windows just couldn't decide which of the two routes to use.

Buttons, not commands. PC Buster finds what opens ad pop-ups, clears junk and points to what is broken. Checks and cleanup are free.
Free downloadClick the Start button, type cmd, open Command Prompt and enter the line below. You don't need to run it as administrator.
route print -4
Under "Active Routes", find the lines whose Network Destination is 0.0.0.0. These are the routes out to the internet.
| 0.0.0.0 lines | Meaning |
|---|---|
| Only one | There is one route, so this page isn't your problem. See no internet connection or Wi-Fi keeps disconnecting. |
| Two or more, different numbers in the last column, "Metric" | The smaller number goes first. If the "Interface" address on the smaller one is the IP of your wired connection, you're fine. |
| Two or more, same metric number | It's down to chance. Go to the fixing steps below. |
To tell which IP is wired and which is Wi-Fi or tethering, match them against the IPv4 addresses under headings like "Ethernet adapter Ethernet" and "Wireless LAN adapter Wi-Fi" in the ipconfig output. Phone tethering often shows up as a second Ethernet adapter, such as "Ethernet 2".
ncpa.cpl opens the same window.100 in the Interface metric box, and keep clicking OK. Leave the wired one on "Automatic". The automatic metric is based on connection speed, and a wired connection generally gets a number much smaller than 100.route print -4 again and check that the metrics on the 0.0.0.0 lines are now different.Right-click the Start button and open Terminal (Admin) (Windows 10: Windows PowerShell (Admin)), then first look at the connection names and their current numbers.
Get-NetIPInterface -AddressFamily IPv4 | Sort-Object InterfaceMetric | Format-Table InterfaceAlias, InterfaceMetric, ConnectionState
In that list, find the name (InterfaceAlias, e.g. Wi-Fi, Ethernet 2) of the connection to put second, then change it as below. If the name has a space in it, wrap it in quotes.
Set-NetIPInterface -InterfaceAlias "Wi-Fi" -AddressFamily IPv4 -InterfaceMetric 100
To undo it, run the same command with the end changed to -AutomaticMetric Enabled, or tick "Automatic metric" again on the screen from steps 3 and 4.
Now only one route is in use, so the route that goes first is itself dropping. If it is wired, swap the Ethernet cable for another or plug it into a different port on the router, and if that doesn't help, check the router and your ISP using the steps in no internet connection.
PC Buster's Network Check sorts the active connections into wired, Wi-Fi and phone tethering and shows each one's IP and priority number. If there are two routes and wired isn't clearly ahead, it tells you "There are two routes to the internet with the same priority"; up to this point it is free. Tick it and click "Fix" and it lowers the IPv4 priority of the other route to 100 so that wired (or Wi-Fi, if there is no wired connection) always goes first; this "Fix" button is paid (Connection Repair, one PC, 4,900 KRW). It doesn't change the IPv6 numbers, so do step 5 yourself if you need it, and when the Ethernet cable or router itself is dropping, PC Buster can't fix that either.
No internetDNS server not respondingWi-Fi keeps droppingWi-Fi network not showingOther PCs not showing on the networkShared folder or NAS won't open (0x80070035)Find your computer name and IP addressFind your Wi-Fi passwordBluetooth keeps disconnectingSee all fixes