OK. I’ve come to the conclusion that either my Ubiquiti Anplifi router is borked after 5 years of service and is dying, the network cable that connects my router to the ONT is broken in a very weird and specific way, or that my house is haunted by some kind of network phantom.