Because LLM's are causal autoregressive. The output is non-deterministic and is based on a sampling algorithm. It's why things like 'self-consistency' is a thing. It's possible LLM's are better than or equal to best prompt engineers in producing the best "trace" or "prompt" that will lead to the desired sampling "trajectories".
This leans on the LLM’s latent space to hopefully give you better results. The idea is that it’s able to use those key words to form connections that may have been absent otherwise.