Transformer has noise, radiation is harmful to health, and there are examples of transformer explosion.
Transformers should be more than 200 meters away from residential buildings. If it is built later, you can move out, if it is a house.
It's hard to say it was built later.