Hi Kktoombs
welcome to the Apple (user-to-user) Community!
Re: Track pad works but won't charge.
Wondering if you have checked that both the power-point and the cable are working ok.
Apple support have an article online that may be helpful:
Charge a Magic Keyboard, Magic Mouse 2, or Magic Trackpad 2 with Mac - Apple Support
Eg: says:
Connect the Lightning end of a USB-C to Lightning Cable or a Lightning to USB Cable to your keyboard, mouse or trackpad, and the other end to the USB-C or USB port on your Mac.
Note: Depending on your Mac, you may need an adapter, which is available from an Apple Store or on apple.com.
When your keyboard, mouse or trackpad is charged, you receive a notification
on your screen or display that you can disconnect the cable and use your device wirelessly.
If you still have the issue:
As your Mac is quite new, while under warranty you may want to consult with the experts :
Eg: For complimentary support
Choose your country or region - Official Apple Support for contact details
All the best :-)