/tmp is used to store temporary files. The directory is usually cleared on reboot.
It is possible to change this behaviour. To delete only the files older than x days on reboot, edit the file
For instance, to keep files for two days before deleting them: