The NED for the IFE doesn't physically have the wires for two-way connectivity to the aircraft FMS network.
I once had a customer that provided energy pricing data from their network via a leased line to be put onto their website. In their case the isolation they required was provided by not running any network stack over that link - they sent a mostly raw (error correction but that was it) stream of data point to point rather than network packets, and the connection was entirely one-way - if we were to try to send anything back, nothing was listening.
Making it physically impossible for something to listen is reasonably straight forward if you control the hardware, and you can easily additionally electrically isolate the networks.
One circuit emits light, the other circuit listens to the pattern.
The In-Flight Entertainment network is regular Ethernet, and Flight Management System is a different format (ARINC 664/AFDX) which provides deterministic real-time connectivity.
There is a device called a Network Extension Device (NED) which is a one-way gateway between the FMS and the IFE for showing the progress of the flight to passengers.