Most likely WiFi. Roon is a bit picky. As both devices loose connectivity it isn’t a device problem.
There are threads about Asus routers and multicast settings.
“Multicast Routing needs to be enabled on the ASUS RT AC5300 Router (default is disabled)”
The client connectivity requires multicast I believe so check that?