In the film Logan (2017), there is a scene during which Professor Xavier is having a seizure which seems to make it hard for people around him to move. During this scene, Logan tries to reach Xavier and when he arrives in the hallway of the hotel, he starts stabbing the walls with his claws out.
Why does he do that?