You need to watch it again. He has every reason to panic. Bloke could have chipped him comfortably and he would have been out of the game. The defender is nowhere near getting to him, nor even trying. He doesn't have his bearings because he is miles from goal and the situation has come completely out of the blue. Falling over wasn't the best idea but I can't buy that as a huge error.
You are also completely ignoring the fact that the problem was not even close to being of Ramsdale's making. His position is fine given where we had the ball and even if he fears we could lose it he can have no expectation that it would happen so cleanly and so quickly.
All of Raya's errors were totally down to him and were easily avoidable.