The short and simple answer, as others have explained, is that the sun is not at rest because it orbits the barycenter of the solar system, and also because the solar system orbits the center of the Milky Way galaxy.
However, that answer is misleading because there is no privileged frame of reference that determines absolute rest or motion.