In issue #17351, the Edgerouter X is reported to be affected by this issue listed in the 24.10.1 release notes:
The MT7621AT CPU in the Edgerouter X includes a built-in MT7530 switch.
If 24.10 is installed, it would be a good idea to add the ethtool package to try disabling EEE should the problem manifest. Reading through issue #17351 it seems that disabling EEE helps address the symptoms, but it is not the cure. It doesn't look like a cure will be forthcoming anytime soon.
Staying on 23.05 could be the best plan until this is resolved.