Perhaps it was because he knew Jesus had come to minister to the lost sheep of Israel and was unsure whether He would receive these Gentiles that Philip went to Andrew.
Andrew, in turn, did what he always did (Joh 1:41; Joh 6:8-9). He brought Philip to Jesus.