He then mentions Christ's going away, he left Judea. He left for three reasons. First, to get away from the envy of the Pharisees, who were disturbed because of what they had heard about Christ, and were preparing to harass him. By this he gives us the example that we should, with gentleness, yield ground to evil for a time: "Do not pile wood on his fire" (Sir 8:4). Another reason was to show us that it is not sinful to flee from persecution: "If they persecute you in one town, flee to another" (Mt 10:23). The third reason was that the time of his passion had not yet come: "My time has not yet... come" (above 2:4). And there is an additional reason, a mystical one: he indicated by his leaving that because of persecution the disciples were destined to abandon the Jews and go to the Gentiles.
Then when he says, and went again to Galilee, he shows where he was going. He says, again, because above (2:12) he had mentioned another time when Christ went to Galilee: when he went to Capernaum after the miracle at the wedding. Since the other three evangelists did not mention this first trip, the Evangelist says again to let us know that the other evangelists had mentioned none of the matters he mentions up to this point, and that he is now beginning to give his account contemporaneous with theirs. According to one interpretation, Galilee is understood to signify the Gentile world, to which Christ passed from the Jews; for Galilee means "passage." According to another interpretation, Galilee signifies the glory of heaven, for Galilee also means "revelation."
Source: Commentary on John