There are a number of reasons why it is hotter near the equator. The chief factor is that the sun is at a rather slant angle at the poles when the sun is overhead at the equator. Another factor is absorption and scattering of sunshine as it passes through the atmosphere.