I always thought this to be the ring’s influence and intent. Shit just went down and it was captured by the enemy. When Smeagol found it, it drove him deep underground in order to hide and protect itself.

When Sauron become active again the ring then sought a way out of Golum’s hands to be found by a goblin, Bilbo fucked these plans up in spectacular fashion.