How does Internet communication work on a coaxial cable?
Energy moves through the cable in both directions simultaneously.  Just as different video signals are modulated on different channel frequencies, incoming and outgoing data streams are modulated on different carrier frequencies, and pass each other without interference.