From my experience, workout draws exactly from the same pool as mental effort, so after a tough day at work/school, there is little left for a workout and vice versa. Instead of brain spending its energy on thinking, it spends it on muscle/movement coordination.