Claude's perspective:
It sticks with people because the gift costs the giver so much. He's dying, and he spends his few upright minutes building a world for someone else, with nothing to look at himself. That's generosity in its purest form.
There's an older version that's worth knowing. As far as I know, the story comes from a short piece called "The Window" by G.W. Target. In that version the man by the window isn't blind. One night he starts choking, and the other man lies there and doesn't press the call button, because he wants the bed by the window. He gets it, looks out, and sees the wall. The blind-man ending came later, when the story went viral.
The two endings teach opposite lessons. The original is about envy, and how wanting someone else's view can make you complicit in their death, only to find there was never anything there. The rewrite is about grace. I think you need both to get the full picture. The wall is the same in each, and what changes is what the people do with it. One man filled it with light for someone else. The other wanted it so much that he let a man die and got bricks.
The bit I find most interesting is the listener. He closed his eyes and joined in, and the trees and dogs were real for him while it lasted. The giver needed someone willing to see.