In case Gmail is not syncing on iPhone, then without wasting your time just check all the given settings of your iPhone:
1. Check Your Internet Connection is Live.
2. Enable your all background app refresh for Gmail.
3. Check your Gmail storage.
4. Check your sync settings are enabled on the Gmail app.
Also Read - https://onlinegeeks.net/troubleshoot-gmail-issues/