The questions reads:
Evaluate the iterated integral in spherical coordinates that describes the volume of the solid enclosed by the sphere $x^2 + y^2 + z^2 = 4a^2$ and the planes $z = 0$ and $z = a$.
I understand how to convert this to polar coordinates, but when I look at the answer the book provides, I don't understand why they split it into the sum of 2 triple integrals. I also don't understand why the bound on the phi integral in the second triple integral goes from $\pi/3$ to $\pi/2$.
This is the answer in the book:

Her is a side-long view of the figure.
One integral give you the volume of the green region where $\rho = 2a$ and one give you the volume of the red region where $\rho = a\sec\phi$