Why we have NAS security procedure first and AS security later on?

Hi Experts.
Why we have NAS security procedure first and AS security later on?