Exposure is a triangle. A balance of lens opening (f-stop), shutter speed, and sensitivity to the light (ISO) must be found for good exposure.
With the tiny f-22 aperture, the photo needs a lot more light. It either means slower shutter speed or higher ISO, or both.
Each setting has...