Your body undergoes most of its repair and recovery while you're sleeping, utilizing both protein and carbs as energy sources to repair your muscles. By eating carbs at night, not only are you blocking cortisol production, but you're also providing the necessary resources for your body to build muscle and burn fat.