Red herrings can be used by writers to keep their readers in suspense or surprise them with an unexpected outcome.