Both A and R are true and R is the correct explanation of A.
The rainbow is formed when light at the inner surface of the water drop gets internally reflected. If the angle between the refracted ray and normal to the drop surface is
greater than the critical angle.