It's mostly an accident of history. Adderall was originally marketed as a weight loss product (!) containing 4 different amphetamine salts, including methamphetamine (!!).
The FDA made them remove the meth in the 70s, and in the 90s the company that made it was acquired, and it was rebranded as an ADHD drug.