Timestamp issue

I made a photo and downloaded to the app. The timestamp of the photo was correctly shown in the app. Later I exported the photo to the phone's gallery but the timestamp was changed to the export time. It makes the same timestamp change for the videos too.

How can I ensure the timestamp remains the original one for the exported photos/videos?