Archive vs. Trash: client inconsistencies

It appears that some of my messages are being stored in the Archive folder, others in Trash. This is getting confusing.

I’m guessing that Roundcube moves messages into Archive, while K9 moves messages into Trash? Further, it looks like Apple Mail works like Roundcube: Apple Mail doesn’t work with archiving mail

Is there an easy way of unifying the clients? Or do most people just put up with the inconsistencies?