The other way to make surprise land: not the moment of explosion, but the moment of re-reading. The viewer or player has to reinterpret everything that came before based on a new understanding. The Sixth Sense, Fight Club, Bioshock, Spec Ops: The Line, Shadow of the Colossus.

The twist works because it forces a change in perspective. You anticipated one outcome and got something else entirely; the effectiveness comes from how it transforms the characters in your mind.