The two main causes of myopia are:
1. Excessive elongation of the eyeball: The eyeball is too long, so the light entering the eye focuses in front of the retina instead of on it.
2. Excessive curvature of the cornea: The cornea is too curved, causing light rays to focus before reaching the retina.