Galaxies spin due to the conservation of angular momentum as they form from collapsing clouds of gas and dust, which often have some initial rotation. As these clouds contract under gravity, any existing angular momentum is amplified, leading to the observed spinning motion. The presence of supermassive black holes at the centers of galaxies may contribute to this spin, but they are not the primary drivers. The discussion also highlights that gravitational interactions among stars and gas can create additional angular momentum, resulting in a spiral structure. Understanding galaxy motion requires considering the complex dynamics of matter and energy interactions throughout their formation.