Are they set up with exactly the same? If they have the same apps, photos and other data, I’d first check the battery health on the phone. If thats fine, something is corrupted in your software. You may have to restore the phone as new without using a backup to see if it fixes it. If it does, you can try to restore it using a backup to see if it acts up again.