a WordPress connected to 2 database

Why don’t you rather try to connect 2 wordpress to the same database ?
On website B you can heavily restrain the capabilities of users. This way it will be only a sort of mirror.

Another path could be to use the rest API from website A to fuel the content from website B. Have a look on api documentation: https://developer.wordpress.org/rest-api/