Physics, Doppler Effect, mathematics. read up on it sometime. it's fascinating!
and how would they know how hot the core of the sun is? This makes no sense. Unless they physcially measured the temprature inside the sun then I call this bs.Its like me looking at a lightbulb I cant reach and saying the surface is hotter than the core becuase I took very high resolution images.