Why do different methods of determining the temperature of the sun’s surface give slightly different results?

One of the reasons is that the spectrum of the Sun does not quite coincide with the spectrum of a black body. Another reason is that different methods, strictly speaking, give the temperature of different parts of the solar atmosphere.

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.