Traffic lights have many advantages over icons or text. They are far more reliable than electro-mechanical moving signs, can be seen at night, and can be seen at a much farther distance. The vertical configuration came about because of color blind people. I'm old enough to remember when they were horizontal.
Warning lights are used to draw attention.
It's not an argument for icons.