Hi,
Usually when iPhone is unable complete an iOS update in which can happen for many reason you may encountered an apple boot loop.
Usually allowing iTunes to perform the updates and installation it allows the iPhone to update easily because most of the heavy task it’s performed by iTunes.
If iPhone still stays stuck on Apple logo boot loop after attempting iOS updates through iTunes, then you may have to consider performing an iOS Restore and Updates through iTunes, doing this ERASES all your data and sets the device to factory setting while also performing any available update for your device. It goes without saying that before you proceed with restoring the device through iTunes, first verify that all your personal file and data are backed up/saved somewhere or copied somewhere such cloud services or storage devices, and that you have a way to log in to all your accounts such as Apple ID/emails/ etc.
Below are some links that may help you get started.
How to back up your iPhone, iPad, and iPod touch : https://support.apple.com/en-us/HT203977
If you can't update or restore your iPhone, iPad, or iPod touch : https://support.apple.com/en-us/HT201263