When player A creates a new world, player B can join. As long as Player A does not leave the world, player B can rejoin. When player A closes and reopens the world, Player B gets an error when trying to join saying the account is already logged into the world on a different device.
Player A then has to create a new world for player B to join again. This seems like an issue that has been ongoing, but continues to be marked as resolved. IT IS NOT RESOLVED.
This issue is being tracked at MCPE-186331.