The red/green/white lights - as
captainiglo points out provide relative motion information.... and correspond to the port/starboard/masthead lights used on waterborne vessels...
I can only assume that those lights have the same arcs of visibility as their maritime equivalents? That is of course what makes it possible to asses heading to some extent just from the lights.....