When the contract addresses match on two chains, the log relay method can't differentiate between the messages. For example CCTP https://developers.circle.com/stablecoins/evm-smart-contracts testnet contracts have the same messenger contract addresses and this prevents two way message relay.
See sparkdotfi/spark-alm-controller#31 test_fullRoundTrip() in DeploySepolia.t.sol