Probably because I'm pretty aware of the close-doors button actually looking like >|< on typical elevators. The vertical line, I guess, represents the opening.
See for instance https://www.google.com/search?q=elevator+close+button&tbm=is....