my personal guess is that he needed medical attention from a serious doctor so he tried to gtfo. but the idf knew he was the area so he was bound to get spotted by some guards, he even tried to do it during the holiday for that reason hoping there are less soldiers stationed.
Israel