At the link it says that the bacteria, P. luminescens is found in parasitic worms that get into insect larvae and proceed to disgorge the bacteria, whereupon the bacteria kills the larvae.
What purpose is served by killing the host? Asking for a friend.