Engine would not start

I know there has been a post about the engine not starting. I went to the lake and was having a blast. Skiing, wakeboarding, having fun on the boat. We found a nice cove to have lunch. The radio was playing and the temp was 115 degrees on the water. Yes I live in Las Vegas. After about 30 or 40 min, we went to continue the fun. Went to start the boat and it had a very rough idle. Shut the engine down and tried to restart it. The engine would not start. The motor was turning but nothing else happened. After about 20 min of trying the engine, we finally flagged someone down. When this person came to our aid, I had asked my wife to try to start the engine again. The engine started right up. Could these engine vapor lock? Because of it being so hot, Should have I lifted the engine cover to cool off a little? After the engine started, we found our friends and could not duplicate the problem. Has anybody experience this problem.
Also, I saw another Moomba on the water on this 4th of July afternoon. It was Red and Black. If you are a member of this sight, I just wanted to say Hello.
Taz