According to the manual your mobo contains an RTL8125BG chipset.
LAN • 2.5 Gigabit LAN 10/100/1000/2500 Mb/s
• Dragon RTL8125BG
• Supports Dragon 2.5G LAN Software
- Smart Auto Adjust Bandwidth Control
- Visual User Friendly UI
- Visual Network Usage Statistics
- Optimized Default Setting for Game, Browser, and Streaming Modes
- User Customized Priority Control
Network card in this motherboard can have manufacturing defect
Both Intel and Realtek 2.5GbE chips are known to have problems. It's probably down to cost. If an Ethernet chip costs only $3 to produce, it might not be as reliable as a $30 chip used in a professional system. Cheap NICs sometimes get overloaded by heavy (high bandwidth) network traffic.
It may take some searching on the Asrock or Realtek web sites to find a fully working driver. Check the internet for problems associated with the RTL8125BG and try different drivers.
I disabled the 2.5GbE chipsets in my most recent mobos and fited Asus XG-C100C 10GbE PCIe adapters. The XG-C100C had its own problems with flaky drivers back in 2018, but is more stable now with newer drivers.
When I cannot get a cheap mobo network chip to work, I install second-hand ex-server Intel NICs or Solarflare SFP+ 10G NICs with optical transceivers. The chipsets on more expensive server cards are frequently more stable than cheap mobo Ethernet chipsets.
If you don't need full 2.5Gbps speed, consider buying a 1Gbps PCIe card. You might even find restricting the RTL8125BG chipset to 1Gbps in the driver will yield stable results,