Understanding the thermometry of hot nuclei from the energy spectra of light charged particles