Sometimes a power transformer can have design issues- such as a spot in the part where a winding makes a bend that causes the insulation to fail. That can lead to windings shorting, the transformer thus running hotter so more windings short and so on.
Sounds like you made the right move!
Sounds like you made the right move!