They were already losing the game. Time was running out. It wouldn't really matter if they lost 2-0. By moving up, the goalkeeper made a numerical advantage for the attack-- therefore there would be a free player and a greater chance to make a goal and even the score to "stay alive" in the competition.
they were losing the match, so he came there to give defenders more pressure