Uh you shouldn't be surprised by a red light unless you're cresting a hill (and even then there will usually be a flashing sign indicating a red light up ahead). The yellow light indicates you should start slowing down.
Of course, I learned my lesson and don't expect the system to adapt to me.