What evolutionary purpose is suggested for the vivid red eyes of the Red-eyed Tree Frog?

Answer

A startling display intended to momentarily confuse a predator

The vividness of the Red-eyed Tree Frog's eyes is thought to function as a startling display, known as deimatic behavior, designed to momentarily confuse a predator upon exposure.

What evolutionary purpose is suggested for the vivid red eyes of the Red-eyed Tree Frog?
redcolorFeaturefrog