Well, technically, the pump works by lowering the atmospheric around the penis.
However, 5000 ft isn't that much of a pressure difference, so I would say it is a coincidence, however, I would also say it is positive sign.
I have seen many guys on here who started with nocturnal or spontaneous erections and things started to get better.
Good luck !