This is a problem of the fridge manufacturer’s making.
They chose shitty double doors, then they put in features to blame us for “misusing” them. Single door fridges never had this problem (we all know the slamming sound of a single monolithic fridge door flung too wide, with the rattling of your bottles of soy sauce, and jam jars, ketchup bottles, and the lemon juice you haven’t used in 3 months).
The double doors have to seal together in the center, there's a flap (called an articulating mullion) that swings when you close the door and creates the seal between the doors from the inside of the fridge.
But there are two problems: the force of swinging the flap stops the door's path and blocks it from closing if it's misaligned at all (or the seal is misaligned, or loose, or cheap), and it's attached to one door making one side easier to close than the other.
It makes for a more finicky design.
You can improve the reliability of your fridge closing by organizing the items you pull out the most to the side without the mullion attached.
Ours does too, it's about 12 years old and started not closing properly a few years ago. We trouble shooted it, tried a bunch of fixes to make it seal properly that didn't work, then gave up and got a child fridge lock for like $15 to just hold it shut. Works perfectly.