Not marked as read

sometimes after I read my email and delete it it is in the trash folder marked as unread, sorry I can’t seem to find a pattern, just random.