Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
My wife's 14 Pro did this on day 2. Would randomly reboot while plugged in every 10-30 mins. We cleaned the charge port with a little isopropyl and that seemed to fix it, but as a brand new device, that shouldn't be happening. Talked to Apple support and demanded an express replacement. New one arrived 2 days later and has had no issues.
Totally unacceptable
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.