to go past someone or something in space; to pass by, come up to, or push past
This is the plain, physical sense: a person or thing moving past a point. Someone walking down a road goes past a spot, a boat, or another person. Depending on the setting the same motion can be described from the walker's side (going by) or from the standpoint of the person being reached (coming up to them).
Two shades sit close together here. Usually it simply means to travel past. But because coming past someone often means arriving right where they are, the word can also carry the friendly sense of coming over to attend to a person, and, at the other extreme, of forcing a way past resistance.
One memorable use belongs to this physical picture but points at something being taken away rather than a body moving: Jesus prays that the cup, or the hour, of his suffering might pass from him. The image is of a dreaded thing sweeping by and leaving him untouched, the way a traveler passes and is gone.