Ex is past, you are right.The marriage will be affected.He must stop this nonsense and stop trying to grab old feelings. Ex is an ex for a reason. He is probably fremembering all the things they liked and enjoyed together.And he misses that.
Instead of doing that, he should be talking to his current partner about everything.