@Emily BAI,
My interpretations are
(1) that the observer of these insects follows them with the eye until their path crosses the sun, and the observer then quickly looks away.
(2) that the short life of insects (such as butterflies) implies their activities are governed by keeping track (glancing at) the time indicated by the sun's position.
The poet could imply either or both of these, but the second is more likely because of the anthropomorphic portrayal of the insects as "thinking beings" in the lines above. Further, there is an allusion to the idiom "the quick and the dead" where "quick" means "living". Richness of meaning is what good poetry is about.