Squid don't eat jellyfish, but they eat the things that eat the jellyfish. Jellyfishes put on a lightshow to attract a larger predator. It's caught in the clutches of something like a fish and has no hope for escape unless its lightshow attracts something bigger that will attack their attacker.
            
                 Edith Widder
            
            
                    Hope
                    Will
                    Unless