Why is the halo visible around the Sun (Moon), and the rainbow – away from the Sun, despite the same formation

Why is the halo visible around the Sun (Moon), and the rainbow – away from the Sun, despite the same formation mechanism – the dispersion of light?

On ice crystals, light undergoes only refraction, and therefore the angular distance of the halo from the Sun or Moon is small. One or two total internal reflections arise in water droplets, as a result of which the emitted rays change their direction to the opposite.

Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.