Answer:
By ending the story with this question, the author creates a feeling of horror, or even an eerie and uneasy feeling and dread for what the night will bring forth.
Step-by-step explanation:
In the short story "Nighttime in Texas" revolves round the story of how Dave had went to Maine to visit his high school friend Carlos. The story covers the one night he reached his friend's home only to fund it locked and unable to be let in.
But the climax of the story is when Patricia told him about the severe 'condition' of the whole neighborhood's 'sleepwalking' nature. This weird occurrence has led to the whole neighborhood being kept under curfew. But most eerie and even signifying a sense of horror is the last sentence where Carlos asked Dave if he's "scared of the dark". This question ending the story gives the readers a feeling of uneasiness, a type of horrific ending which seem to further signify something bad will happen at night.