Doorbell transformer buzzing / humming

I installed the 1080p wired eufy doorbell cam yesterday and its working great but now my doorbell transformer is humming, everything is tight in the tranformer but if I put my finger on the spring in the tranformer the buzzing goes away. Any idea what would cause this? The transformer is a 16v 10VA by Heith/Zenith.