Archived Messages Reappear in the Mail App Inbox
This could be an issue with your iPhone settings.

Go to settings > mail, contact, calendar > Gmail

Here you will see you gmail account, select it.
On the following view, there is an option for advanced settings.

Here you can change to with folder archived mails should be placed.

Please let me know if this solved your problem.