The fear of pain can cause phasers to foul.  Sort of like instinctively waking up from an intense nightmare.  Perhaps the programming of avoiding pain in the phase can trigger the "foul" mechanism when the pain potential (not pain itself) presents itself. As SOBT mentions, pain is something that one should not fear, but rather, control.  
You would also probably do yourself a favour if you curbed your internal dialogue (ID), 12padams - but perhaps the dialogue in the video is only there to communicate to the viewers what was going through your mind in terms of surprise and emotion (not necessarily thoughts as words) - I don't know, perhaps you might clarify this for me.  The fact that you 
thought "I've got to get out of here" might have programmed your mind to do what was probably more viable at the time: to switch to wakefulness (aka a foul) rather than translocate.  
To translocate by passing through walls, one must shut the eyes or defocus vision.  Not doing so can lead to collision with objects or even getting stuck in them.  Shutting the eyes and imagining that there is no wall there also helps.  Interestingly, you repeatedly acknowledge their existence in that particular experience.  Also, hyperbolical thoughts that connote or allude to negativity - even if you don't mean them literally (!) - don't bode well... especially for phase practice.  What you need is to acquire some confidence and maintain that.  It will definitely make deepening more effective too (after all, what is the use of techniques if you are not confident that they'll work - and doubt can also cause you to perform them mediocrely).  Whatever you try to do can be done and has been done and that is all you need to focus on.  
Another possibility for the foul is that bashing against the wall shocked you momentarily and caused you to pause.  Pausing briefly can cause a foul.
12padams wrote:
But maybe too much sensory input at an intense level can kick you out.
No, you want the intensity and the hyperrealism.  These will keep you in.  However, when it comes to pain, most people want to avoid it (pain is psychologically tied to punishment, a conceptual bond that emerges at the early stages of life).  Only masochists can employ pain to remain in the phase. 
