If they change color in sync then that is a known property of both marbles. Say you have a marble that is blue if the number of seconds is even and red otherwise. Knowing the color of one marble is enough to know the color of the other marble without information travelling between the marbles?