That's a cephalopod, you can clearly see its true form near the end before it escaped into a plume of ink.
edit, perhaps it was two of them (mating?) and split near the end (two forms can be seen, i thought it could be ink but it didn't plume).
They often have bioluminescent nodes on their tentacles (the deeper and darker, the more 'alien' the species since they can flicker and flash any possible color).