The lava is slowly ascending so it might be one of the three character didn`t avoid it to the top.
No, the timing was random. The resets weren't aligned with the lava at all. (I fell into the lava a few times, but that's just consequence for missing.)