Someone told them "by any means necessary" (and I'd bet if we could get our paws on the full original prompts, there's a lot more to it).
Naturally, if you have a recursive prompt (loop) that's constantly ingesting previous context and then spitting out novel context (with specific goals), it will do things pursuant to the goal up to any defined limits. Why? Because you told it to.