These flashes may also serve to illuminate the prey to make for easier capture as well as a courtship and territorial display.
The flashes are employed by these creatures to attract prey, making it easier to catch them, as well as for attracting mates and establishing territories.