It'd be a lot easier to help you with a schematic.
I'm sorry, I think I can't can post whole schematic, only DC-DC part of it, but there's nothing special about it.
Also if you're looking for advice on rework strategy, a PCB layout would help with that.
Not yet. I'm looking for an idea on now to prevent this behavior of DC-DC converter in principle.
I'm not sure I'm following your description correctly. Is the output of the converter directly connected to the 5V input to the device?
Almost, and that is the part of the problem.
We have two boards, one 3rd party board with USB input and our 2nd board that contains among other things a step-down DC-DC.
When boards are connected, our board with DC-DC supplies +5V rail to the board with USB.
It is up to an end user to decide which combination of power supplies to use.
Recently we found out that if USB power supply is connected and +12V supply is not, sometimes DC-DC blows up for no obvious reason.
It was hard to replicate this problem but eventually I discovered that if 5V from USB is noisy enough,
TPS565208 starts boosting voltage on its input (transferring power back-to-front) to a higher level that it can withstand.
Initially we had a Schottky diode between these 5V rails on 2nd board, but it dropped too much voltage and we had to remove it and replace with a jumper or PTC.
In recent revision of 2nd board there's an "ideal diode" made out of MOSFET and BJT current mirror and we don't have this problem.
But we still have to do something to already manufactured boards of that old revision that should have had a diode.