Understanding the energy resolution of liquid argon neutrino detectors