There are laws on both the federal and state level. On the federal level, the most common agency regulating trucks is the Federal Motor Carrier Safety Administration (FMCSA), which is a division of the U.S. Department of Transportation (USDOT). The FMCSA regulates driver qualifications as well as safety regulations of the truck itself.
The State of Texas Department of Transportation also regulates large commercial trucks.