Like another commenter suggested, money. These professions are generally rather high paying and come with quite a bit of prestige. "Lawyer" is listed up there with doctor with the stereotypical aspirational jobs.
Example: society wants more quality teachers, so society chooses to increase the federal education budget to increase teacher salaries. Consequently, more highly educated people choose to become teachers, however, this unintentionally exacerbates the doctor shortage and further increases corporate lawyer salaries due to decreased supply of lawyers.