This article describes the difference between archiving and deleting a Gmail message and how to enable or disable this feature on iPhone, iPad, and iPod touch.
Mail archives Gmail messages rather than deleting them:
When you archive a message, it moves to the All Mail folder. It does not delete the message from the Gmail account. You can learn more about the Gmail archive feature in Gmail Help. Archive replaces all delete options when you use a Gmail account, including tapping the Trash icon while you view a message and selecting Edit to manage multiple messages.
You can disable this feature in Settings > Mail, Contacts, Calendars > Gmail Account > Account >Advanced > Move Discarded Messages Into:
Information about products not manufactured by Apple, or independent websites not controlled or tested by Apple, is provided without recommendation or endorsement. Apple assumes no responsibility with regard to the selection, performance, or use of third-party websites or products. Apple makes no representations regarding third-party website accuracy or reliability. Risks are inherent in the use of the Internet. Contact the vendor for additional information.