To create tension up until the very end of the story, the best way to structure the ending would be:
by writing a tragic ending in which one character discovers a horrible truth.
This type of ending maintains suspense and emotional weight, leaving readers with a sense of unease or surprise that aligns with the buildup of tension throughout the narrative. The other options either resolve the conflict too easily or shift the tone to something lighter, which would not contribute to sustained tension.