This would be due to insufficient storage in your iPhone. You can clear some space either manually or by enabling “Offload unused app” from settings > General > Storage. This might also be due to the poor network for downloading the update. Rarely, older iPhone models are not compatible with newer iOS versions and hence installation of the same won’t be possible.