It's configurable. On the "classic" Outlook, you will find the relevant setting under File > Options > Mail > Other > After moving or deleting an open item... For OWA/new Outlook, it's under Settings > Mail > Layout > Reading pane > What do you want to happen when you move or delete the item you are viewing...