Night Dive Worm
Night Dive Worms (unidentified alciopid worms, Alciopini)

The worm in this photo swims in the water at night and is strongly attracted to dive lights. It is not living on the coral here. It was probably drawn to the light and landed on the coral for a moment.
These worms are often called Camera-Eyed Worms or simply Night-Dive Worms.
These worms have large paired camera-type eyes. They swim in the water at night and are attracted to dive lights.
It is difficult to identify the exact species because several similar-looking alciopid species exist.