It doesn’t. The other light turns red before.
OK, so there's one light that changes color, you're at a sidestreet intersection with a stop sign, turn right, and see a yellow light. Do you assume turning red or green next?