Spherical aberration in microscopes is mainly caused by the curvature of the lenses. When light passes through the edges of a spherical lens, it refracts more than light passing through the center, causing the rays to focus at different points. This issue is more pronounced in lower-quality lenses and older microscopes.