I think it didn't like the fact that it was encaged and trapped like that, however, the purple creature's efforts were for naught as it couldn't break out and instead its body splattered on that web of light but it didn't die as the pieces wriggled and moved towards each other and merged back into one single being.