That’s just called good writing. You could decide on a title first then skilfully add it as a quote that servers the narrative. Again, as an audience member you don’t know¹, except when it’s glaringly bad. It’s the toupée fallacy.
¹ I hope it’s obvious I’m excluding cases where someone deliberately seeks behind-the-scenes information. We’re talking about having only the result of the work as context.
loading story #42065634