The arrangement of atoms around a central atom affects the bonding angles of a molecule. According to the VSEPR theory, electrons want to be as far away from each other as possible. This causes atoms to arrange themselves to be as far apart as possible, with equal distance/angles in between. The more atoms there are, the smaller the bond angle gets. Lone pairs also take up space around the atom, causing bonding angles to decrease as well.