Plex android player says my NAS is offline, but it's not, won't play on 5G, but will play on WiFi

Do you experience this both on remote networks → Plex app successfully connects to your server from a remote WIFI but fails to connect via 5G?
If so, there could be some change with your carrier, e.g. blocking certain ports or traffic.

If this is about remote connections in general, you might need to review your remote access setup.