
A lot of writing guidance focuses on the quality of the elements: an immersive world, interesting and polarizing characters, and some involving contention that gives energy to the story. A well-built narrative will naturally have some pseudo-redundant elements that are clues to things going on in the story. You can think of them like easter eggs that are sometimes in the backdrops of movie scenes-- tips of the hat to various tropes and creators. In literature, you cannot assume that every hint will get through to the reader. So, in the polish edits, you make sure there are multiple beats that can lead the reader to understand how the plot threads resolve. This is more than a quality consideration.
The best movies are the ones that you can watch more than one time and still enjoy them. A good book should be the same way. The main thing is to give the reader MORE than just the story, but a world, a speculative space where there's more than one possibility. Every scene should have a few over-engineered elements that lend authenticity and possibility. Those bits of immersion that invite the reader to 'what-if' give greater substance and enjoyment. There's no real guide here other than to build the world of your story to be broader than just the immediate needs of the story.
This doesn't need to be huge. You only need to let your reader know you considered the possibility and hint at it, even if it isn't a part of the way the story plays out. These red-herring possible scenarios are extra depth and texture. There are many ways to layer them in whether it is some anecdote traded between characters, something characters observe, or just considerations the protagonist enumerates as they navigate the choices of the story. So, as a writing paradigm, it's okay to over-build the world beyond the immediate needs of the story. The key thing is the excess detail needs to remain scant enough that it doesn't slow down the natural progression of the plot.
Down this path is backstory and worldbuilding that is for its own sake, so, the challenge is to balance depth with progression. Do more, but don't overdo it.

